summaryrefslogtreecommitdiff
path: root/accel-pptpd/ctrl/pppoe/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pptpd/ctrl/pppoe/CMakeLists.txt')
-rw-r--r--accel-pptpd/ctrl/pppoe/CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/accel-pptpd/ctrl/pppoe/CMakeLists.txt b/accel-pptpd/ctrl/pppoe/CMakeLists.txt
index 5f5c5e4..f047936 100644
--- a/accel-pptpd/ctrl/pppoe/CMakeLists.txt
+++ b/accel-pptpd/ctrl/pppoe/CMakeLists.txt
@@ -1,12 +1,17 @@
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
-ADD_LIBRARY(pppoe SHARED
+SET(sources
pppoe.c
mac_filter.c
dpado.c
cli.c
)
+IF (RADIUS)
+SET(sources ${sources} tr101.c)
+ENDIF(RADIUS)
+
+ADD_LIBRARY(pppoe SHARED ${sources})
TARGET_LINK_LIBRARIES(pppoe crypto)
INSTALL(TARGETS pppoe LIBRARY DESTINATION lib/accel-pptp)