Tweak RPATH more for macOS

This commit is contained in:
Petr Mrázek 2023-05-25 15:01:10 +02:00
parent 9a3bfac870
commit 750f2a6ba5

View File

@ -954,7 +954,7 @@ endif()
# NOTE fix up rpath so the macOS loader finds the frameworks
if (APPLE)
set_target_properties(${Launcher_Name} PROPERTIES
INSTALL_RPATH "@executable_path/../Frameworks"
INSTALL_RPATH "@executable_path;@executable_path/../Frameworks"
)
elseif(UNIX)
set_target_properties(${Launcher_Name} PROPERTIES