diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2016-06-02 11:01:59 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2016-06-02 11:01:59 +0300 |
commit | 1073d1679887b4afd39347386016ded54065a642 (patch) | |
tree | 5ef6d60135a4e4585958a755a84a8a96cef920cf /accel-pppd/ctrl/pppoe | |
parent | 74d9a93067733e61d27038b905bf0f8325a102b5 (diff) | |
download | accel-ppp-1073d1679887b4afd39347386016ded54065a642.tar.gz accel-ppp-1073d1679887b4afd39347386016ded54065a642.zip |
set INSTALL_RPATH for ipoe and pppoe
Diffstat (limited to 'accel-pppd/ctrl/pppoe')
-rw-r--r-- | accel-pppd/ctrl/pppoe/CMakeLists.txt | 2 |
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) |