diff --git a/MantidPlot/CMakeLists.txt b/MantidPlot/CMakeLists.txt index 7c60f165cea24f5bd93e5d12d41a19ea4e86ae43..edadbda43c504cadc21ff4d7109887b64c6e28d1 100644 --- a/MantidPlot/CMakeLists.txt +++ b/MantidPlot/CMakeLists.txt @@ -825,7 +825,7 @@ endif () add_dependencies( MantidPlot mantidqtpython CompilePyUI ) if (OSX_VERSION VERSION_GREATER 10.8) - set_target_properties(MantidPlot PROPERTIES INSTALL_RPATH "@executable_path/") + set_target_properties(MantidPlot PROPERTIES INSTALL_RPATH "@executable_path;@executable_path/../Libraries") endif () ########################################################################### diff --git a/MantidQt/API/CMakeLists.txt b/MantidQt/API/CMakeLists.txt index 1c5a568b0865957ff393cb26d94a0a6cf2132a94..9ba1df6530ec04f83990fcaa3743f272da9e9473 100644 --- a/MantidQt/API/CMakeLists.txt +++ b/MantidQt/API/CMakeLists.txt @@ -152,7 +152,7 @@ add_library ( MantidQtAPI ${ALL_SRC} ${INC_FILES} ${UI_HDRS} ) set_target_properties ( MantidQtAPI PROPERTIES COMPILE_DEFINITIONS IN_MANTIDQT_API ) if (OSX_VERSION VERSION_GREATER 10.8) - set_target_properties ( MantidQtAPI PROPERTIES INSTALL_RPATH "@loader_path/../MacOS") + set_target_properties ( MantidQtAPI PROPERTIES INSTALL_RPATH "@loader_path/../MacOS;@loader_path/../Libraries") endif () target_link_libraries ( MantidQtAPI LINK_PRIVATE ${TCMALLOC_LIBRARIES_LINKTIME}