From 1073d1679887b4afd39347386016ded54065a642 Mon Sep 17 00:00:00 2001 From: Dmitry Kozlov Date: Thu, 2 Jun 2016 11:01:59 +0300 Subject: set INSTALL_RPATH for ipoe and pppoe --- accel-pppd/ctrl/ipoe/CMakeLists.txt | 2 ++ accel-pppd/ctrl/pppoe/CMakeLists.txt | 2 ++ 2 files changed, 4 insertions(+) diff --git a/accel-pppd/ctrl/ipoe/CMakeLists.txt b/accel-pppd/ctrl/ipoe/CMakeLists.txt index f15365a..73dbb38 100644 --- a/accel-pppd/ctrl/ipoe/CMakeLists.txt +++ b/accel-pppd/ctrl/ipoe/CMakeLists.txt @@ -24,5 +24,7 @@ IF (LUA) TARGET_LINK_LIBRARIES(ipoe ${LUA_LIBRARIES}) ENDIF(LUA) TARGET_LINK_LIBRARIES(ipoe vlan-mon) +set_property(TARGET ipoe PROPERTY CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) +set_property(TARGET ipoe PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib${LIB_SUFFIX}/accel-ppp) INSTALL(TARGETS ipoe LIBRARY DESTINATION lib${LIB_SUFFIX}/accel-ppp) diff --git a/accel-pppd/ctrl/pppoe/CMakeLists.txt b/accel-pppd/ctrl/pppoe/CMakeLists.txt index 5e1cbdc..808cd51 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) -- cgit v1.2.3