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