From 2e09dd225b6b00b59131ceec1b6c25e42ad6c807 Mon Sep 17 00:00:00 2001 From: Lucas SOLTIC Date: Tue, 13 May 2014 00:21:39 +0200 Subject: [PATCH] Fix build of the SFML target on OS X with Xcode --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 006a715a..5eefa5d6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -237,7 +237,7 @@ else() # add the remaining headers add_custom_command(TARGET SFML POST_BUILD - COMMAND cp -r ${PROJECT_SOURCE_DIR}/include/SFML/* SFML.framework/Versions/${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH}/Headers) + COMMAND cp -r ${PROJECT_SOURCE_DIR}/include/SFML/* $/Headers) # adapt install directory to allow distributing dylibs/frameworks in user’s frameworks/application bundle # NOTE : it's not required to link agains SFML.framework