File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -56,8 +56,8 @@ if(APPLE)
5656 set (CMAKE_MODULE_LINKER_FLAGS "${CMAKE_MODULE_LINKER_FLAGS} -undefined dynamic_lookup -liconv" )
5757 set (CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -undefined dynamic_lookup -liconv" )
5858 set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -undefined dynamic_lookup -liconv" )
59- set (CMAKE_INSTALL_RPATH "\$ ORIGIN " )
60- set (CMAKE_BUILD_RPATH "\$ ORIGIN " )
59+ set (CMAKE_INSTALL_RPATH "@loader_path " )
60+ set (CMAKE_BUILD_RPATH "@loader_path " )
6161 execute_process (
6262 COMMAND sed -i "" -E "s/^[[:blank:]]*list\\ (APPEND OPENJPEG_LIBRARY_PROPERTIES INSTALL_NAME_DIR \"\\ $\\ {CMAKE_INSTALL_PREFIX\\ }\\ /\\ $\\ {OPENJPEG_INSTALL_LIB_DIR\\ }\\\" )//"
6363 ${CMAKE_SOURCE_DIR} /gdcm_src/Utilities/gdcmopenjpeg/CMakeLists.txt
You can’t perform that action at this time.
0 commit comments