diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2017-12-07 14:38:41 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2017-12-07 14:38:41 +0300 |
commit | 28cafaac477170d9dabf970d33da0b45bafebe49 (patch) | |
tree | 1c7b5f8a0c43b5cc861bb1166b9d2c645623ac9d /accel-pppd/radius | |
parent | 619234e0a62754034931b53b7efd239b3575c38b (diff) | |
download | accel-ppp-28cafaac477170d9dabf970d33da0b45bafebe49.tar.gz accel-ppp-28cafaac477170d9dabf970d33da0b45bafebe49.zip |
cmake: set INSTALL_RPATH for radius module
Diffstat (limited to 'accel-pppd/radius')
-rw-r--r-- | accel-pppd/radius/CMakeLists.txt | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/radius/CMakeLists.txt b/accel-pppd/radius/CMakeLists.txt index 8cb66ce6..a0c0d534 100644 --- a/accel-pppd/radius/CMakeLists.txt +++ b/accel-pppd/radius/CMakeLists.txt @@ -22,6 +22,8 @@ ENDIF () ADD_DEFINITIONS(-DDICTIONARY="${CMAKE_INSTALL_PREFIX}/share/accel-ppp/radius/dictionary") ADD_LIBRARY(radius SHARED ${sources}) +set_property(TARGET radius PROPERTY CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) +set_property(TARGET radius PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/accel-ppp) IF (LUA) TARGET_LINK_LIBRARIES(radius luasupp) |