summaryrefslogtreecommitdiff
path: root/accel-pppd/radius
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-12-07 14:38:41 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-12-07 14:38:41 +0300
commit28cafaac477170d9dabf970d33da0b45bafebe49 (patch)
tree1c7b5f8a0c43b5cc861bb1166b9d2c645623ac9d /accel-pppd/radius
parent619234e0a62754034931b53b7efd239b3575c38b (diff)
downloadaccel-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.txt2
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)