summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey V. Lobanov <svlobanov@users.noreply.github.com>2024-09-05 10:42:34 +0200
committerGitHub <noreply@github.com>2024-09-05 10:42:34 +0200
commit10cd5cab43351bb776b1b8d76acb3635f91debcd (patch)
treea7398394a985323dff22675b9c542306211fd681
parent3a6ee62003bd840ec86be4638d9e84d1cc1aa12b (diff)
parent2ffca70167cdd82a7309a2092fecce9a062dd4dc (diff)
downloadaccel-ppp-10cd5cab43351bb776b1b8d76acb3635f91debcd.tar.gz
accel-ppp-10cd5cab43351bb776b1b8d76acb3635f91debcd.zip
Merge pull request #193 from svlobanov/revert-pr-190
Revert "Fix #189: Make module pppoe work without module radius"
-rw-r--r--accel-pppd/ctrl/pppoe/CMakeLists.txt8
1 files changed, 1 insertions, 7 deletions
diff --git a/accel-pppd/ctrl/pppoe/CMakeLists.txt b/accel-pppd/ctrl/pppoe/CMakeLists.txt
index 1f82f04..fd4f9a3 100644
--- a/accel-pppd/ctrl/pppoe/CMakeLists.txt
+++ b/accel-pppd/ctrl/pppoe/CMakeLists.txt
@@ -13,13 +13,7 @@ SET(sources ${sources} tr101.c)
ENDIF(RADIUS)
ADD_LIBRARY(pppoe SHARED ${sources})
-
-IF (RADIUS)
- TARGET_LINK_LIBRARIES(pppoe vlan-mon connlimit radius)
-ELSE (RADIUS)
- TARGET_LINK_LIBRARIES(pppoe vlan-mon connlimit)
-ENDIF (RADIUS)
-
+TARGET_LINK_LIBRARIES(pppoe vlan-mon connlimit)
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)