Skip to content

Commit

Permalink
Fix RPATH on macOS
Browse files Browse the repository at this point in the history
Task-Id: #305
  • Loading branch information
pasnox committed Jan 23, 2017
1 parent 01c5154 commit 49fc568
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmake/GammaRayMacros.cmake
Expand Up @@ -82,7 +82,7 @@ macro(gammaray_add_plugin _target_name)

if(APPLE)
if(NOT GAMMARAY_INSTALL_QT_LAYOUT)
set_target_properties(${_target_name} PROPERTIES INSTALL_RPATH "@loader_path/../../../Frameworks")
set_target_properties(${_target_name} PROPERTIES INSTALL_RPATH "@loader_pathd/../../../../Frameworks")
endif()
endif()

Expand Down
2 changes: 1 addition & 1 deletion probe/CMakeLists.txt
Expand Up @@ -30,7 +30,7 @@ endif()
if(APPLE) # DYLD_INSERT_LIBRARIES only works with real shared libraries, not modules
add_library(gammaray_probe SHARED ${gammaray_probe_srcs})
if(NOT GAMMARAY_INSTALL_QT_LAYOUT)
set_target_properties(gammaray_probe PROPERTIES INSTALL_RPATH "@loader_path/../../../Frameworks")
set_target_properties(gammaray_probe PROPERTIES INSTALL_RPATH "@loader_path/../../../../Frameworks")
endif()
else()
add_library(gammaray_probe ${GAMMARAY_PLUGIN_TYPE} ${gammaray_probe_srcs})
Expand Down

0 comments on commit 49fc568

Please sign in to comment.