Merge branch 'feature/rpath_osx'
This commit is contained in:
commit
c348171f24
@ -232,7 +232,7 @@ else()
|
|||||||
# NOTE: it's not required to link agains SFML.framework
|
# NOTE: it's not required to link agains SFML.framework
|
||||||
set_target_properties(SFML PROPERTIES
|
set_target_properties(SFML PROPERTIES
|
||||||
BUILD_WITH_INSTALL_RPATH 1
|
BUILD_WITH_INSTALL_RPATH 1
|
||||||
INSTALL_NAME_DIR "@executable_path/../Frameworks")
|
INSTALL_NAME_DIR "@rpath")
|
||||||
|
|
||||||
# install rule
|
# install rule
|
||||||
install(TARGETS SFML
|
install(TARGETS SFML
|
||||||
|
@ -84,7 +84,7 @@ macro(sfml_add_library target)
|
|||||||
# 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
|
||||||
set_target_properties(${target} PROPERTIES
|
set_target_properties(${target} PROPERTIES
|
||||||
BUILD_WITH_INSTALL_RPATH 1
|
BUILD_WITH_INSTALL_RPATH 1
|
||||||
INSTALL_NAME_DIR "@executable_path/../Frameworks")
|
INSTALL_NAME_DIR "@rpath")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# enable automatic reference counting on iOS
|
# enable automatic reference counting on iOS
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -127,6 +127,9 @@ subject to the following restrictions:
|
|||||||
<dict>
|
<dict>
|
||||||
<key>INFOPLIST_FILE</key>
|
<key>INFOPLIST_FILE</key>
|
||||||
<string>___PACKAGENAME___/___PACKAGENAME___-Info.plist</string>
|
<string>___PACKAGENAME___/___PACKAGENAME___-Info.plist</string>
|
||||||
|
|
||||||
|
<key>LD_RUNPATH_SEARCH_PATHS</key>
|
||||||
|
<string>@loader_path/../Frameworks</string>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
|
Loading…
Reference in New Issue
Block a user