mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-16 12:49:15 -04:00
cmake: Allow RPATH to include files outside the build tree
This commit is contained in:
@@ -232,6 +232,8 @@ endif()
|
||||
set(CMAKE_INSTALL_RPATH
|
||||
"${CMAKE_INSTALL_PREFIX}/${INSTALL_LIB_DIR}" CACHE
|
||||
PATH "Library Install RPath" FORCE)
|
||||
# Allow RPATH to files outside the build tree
|
||||
set(CMAKE_INSTALL_RPATH_USE_LINK_PATH TRUE)
|
||||
# force full path
|
||||
set(CMAKE_INSTALL_NAME_DIR
|
||||
"${CMAKE_INSTALL_PREFIX}/${INSTALL_LIB_DIR}" CACHE
|
||||
|
||||
Reference in New Issue
Block a user