Skip to content
Snippets Groups Projects
Commit b247c4e4 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

SL-821: Force the Mac -rpath linker switch using LINK_FLAGS property

instead of the INSTALL_RPATH CMake property, which _should_ have worked.
parent c665a05b
No related branches found
No related tags found
No related merge requests found
...@@ -2106,6 +2106,9 @@ if (DARWIN) ...@@ -2106,6 +2106,9 @@ if (DARWIN)
OUTPUT_NAME "${product}" OUTPUT_NAME "${product}"
# From Contents/MacOS/SecondLife, look in Contents/Frameworks # From Contents/MacOS/SecondLife, look in Contents/Frameworks
INSTALL_RPATH "@loader_path/../Frameworks" INSTALL_RPATH "@loader_path/../Frameworks"
# SIGH, as of 2018-05-24 (cmake 3.11.1) the INSTALL_RPATH property simply
# does not work. Try this:
LINK_FLAGS "-rpath @loader_path/../Frameworks"
MACOSX_BUNDLE_INFO_PLIST MACOSX_BUNDLE_INFO_PLIST
"${CMAKE_CURRENT_SOURCE_DIR}/Info-SecondLife.plist" "${CMAKE_CURRENT_SOURCE_DIR}/Info-SecondLife.plist"
) )
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment