mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-04-05 11:09:13 -04:00
cmake: Allow RPATH to include files outside the build tree
This commit is contained in:
parent
1eeb334a8f
commit
034c299e4a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user