fixed creation of SFML.framework

This commit is contained in:
Marco Antognini 2011-09-09 15:24:09 +02:00
parent c942e576c1
commit d6c1fda5bd
2 changed files with 7 additions and 1 deletions

View file

@ -150,7 +150,7 @@ macro(sfml_add_library target)
MACOSX_FRAMEWORK_BUNDLE_VERSION ${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_PATCH})
endif()
# adapt install directory to allow distributing dylibs/frameworks in users frameworks
# adapt install directory to allow distributing dylibs/frameworks in users frameworks/application bundle
set_target_properties(${target} PROPERTIES
BUILD_WITH_INSTALL_RPATH 1
INSTALL_NAME_DIR "@executable_path/../Frameworks")