diff options
author | Kozlov Dmitry <xeb@mail.ru> | 2011-09-03 21:40:34 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2011-09-03 21:40:34 +0400 |
commit | 9739251101bffde2c62ba08c1869eb170d952d5b (patch) | |
tree | 41f59ad7a2c6fc855404f808cba887d88a32c96a /accel-pppd/ctrl/pppoe/CMakeLists.txt | |
parent | 44adc2a544ea23aee39105b048c8f90cef565a5b (diff) | |
download | accel-ppp-9739251101bffde2c62ba08c1869eb170d952d5b.tar.gz accel-ppp-9739251101bffde2c62ba08c1869eb170d952d5b.zip |
implemented crypto library selection: -DCRYPTO=OPENSSL|TOMCRYPT|INTERNAL (default OPENSSL)
Diffstat (limited to 'accel-pppd/ctrl/pppoe/CMakeLists.txt')
-rw-r--r-- | accel-pppd/ctrl/pppoe/CMakeLists.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/accel-pppd/ctrl/pppoe/CMakeLists.txt b/accel-pppd/ctrl/pppoe/CMakeLists.txt index b2c0584d..a38cfb2c 100644 --- a/accel-pppd/ctrl/pppoe/CMakeLists.txt +++ b/accel-pppd/ctrl/pppoe/CMakeLists.txt @@ -12,6 +12,10 @@ SET(sources ${sources} tr101.c) ENDIF(RADIUS) ADD_LIBRARY(pppoe SHARED ${sources}) -TARGET_LINK_LIBRARIES(pppoe crypto) +TARGET_LINK_LIBRARIES(pppoe ${crypto_lib}) +#set_property(TARGET pppoe PROPERTY CMAKE_SKIP_BUILD_RPATH FALSE) +#set_property(TARGET pppoe PROPERTY CMAKE_BUILD_WITH_INSTALL_RPATH FALSE) +#set_property(TARGET pppoe PROPERTY INSTALL_RPATH_USE_LINK_PATH FALSE) +#set_property(TARGET pppoe PROPERTY INSTALL_RPATH ${CMAKE_INSTALL_PREFIX}/lib/accel-ppp) INSTALL(TARGETS pppoe LIBRARY DESTINATION lib/accel-ppp) |