Fix RPATH handling (#122)
Fix rpath handling - remove explicit add to CMAKE_INSTALL_RPATH - remove overriding INSTALL_RPATH_USE_LINK_PATH for exes
This commit is contained in:
committed by
GitHub
parent
641225f883
commit
97d17a8ef8
@@ -8,13 +8,7 @@
|
||||
#
|
||||
# ----------------------------------------------------------------------------- #
|
||||
|
||||
string(REPLACE ":" ";" _INSTALL_RPATH "${CMAKE_INSTALL_RPATH}")
|
||||
if(_INSTALL_RPATH)
|
||||
list(REMOVE_DUPLICATES _INSTALL_RPATH)
|
||||
endif()
|
||||
string(REPLACE ";" ":" _INSTALL_RPATH "${_INSTALL_RPATH}")
|
||||
string(REPLACE "::" ":" OMNITRACE_LIB_INSTALL_RPATH
|
||||
"\$ORIGIN:\$ORIGIN/omnitrace:${_INSTALL_RPATH}")
|
||||
set(OMNITRACE_LIB_INSTALL_RPATH "\$ORIGIN:\$ORIGIN/omnitrace")
|
||||
|
||||
add_subdirectory(common)
|
||||
add_subdirectory(omnitrace)
|
||||
|
||||
Reference in New Issue
Block a user