Merge pull request #596 from Ceylo/bugfix/595_OSXFrameworkCreation
#595 Fix build of the SFML target on OS X with Xcode Nevertheless, Xcode generator is not officially supported by SFML
This commit is contained in:
commit
44a192d9b1
@ -237,7 +237,7 @@ else()
|
|||||||
# add the remaining headers
|
# add the remaining headers
|
||||||
add_custom_command(TARGET SFML
|
add_custom_command(TARGET SFML
|
||||||
POST_BUILD
|
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/* $<TARGET_FILE_DIR:SFML>/Headers)
|
||||||
|
|
||||||
# adapt install directory to allow distributing dylibs/frameworks in user’s frameworks/application bundle
|
# adapt install directory to allow distributing dylibs/frameworks in user’s frameworks/application bundle
|
||||||
# NOTE : it's not required to link agains SFML.framework
|
# NOTE : it's not required to link agains SFML.framework
|
||||||
|
Loading…
Reference in New Issue
Block a user