summaryrefslogtreecommitdiff
path: root/accel-pppd/ctrl/pppoe/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/ctrl/pppoe/CMakeLists.txt')
-rw-r--r--accel-pppd/ctrl/pppoe/CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/accel-pppd/ctrl/pppoe/CMakeLists.txt b/accel-pppd/ctrl/pppoe/CMakeLists.txt
index 5e1cbdc6..808cd513 100644
--- a/accel-pppd/ctrl/pppoe/CMakeLists.txt
+++ b/accel-pppd/ctrl/pppoe/CMakeLists.txt
@@ -14,5 +14,7 @@ ENDIF(RADIUS)
ADD_LIBRARY(pppoe SHARED ${sources})
TARGET_LINK_LIBRARIES(pppoe vlan-mon)
+set_property(TARGET pppoe PROPERTY CMAKE_BUILD_WITH_INSTALL_RPATH FALSE)
+set_property(TARGET pppoe PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/accel-ppp)
INSTALL(TARGETS pppoe LIBRARY DESTINATION lib${LIB_SUFFIX}/accel-ppp)