summaryrefslogtreecommitdiff
path: root/accel-pppd/radius/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'accel-pppd/radius/CMakeLists.txt')
-rw-r--r--accel-pppd/radius/CMakeLists.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/accel-pppd/radius/CMakeLists.txt b/accel-pppd/radius/CMakeLists.txt
index 0c1789e..d139fe1 100644
--- a/accel-pppd/radius/CMakeLists.txt
+++ b/accel-pppd/radius/CMakeLists.txt
@@ -10,6 +10,10 @@ SET(sources
radius.c
)
+IF (BACKUP)
+ SET(sources ${sources} backup.c)
+ENDIF (BACKUP)
+
ADD_DEFINITIONS(-DDICTIONARY="${CMAKE_INSTALL_PREFIX}/share/accel-ppp/radius/dictionary")
ADD_LIBRARY(radius SHARED ${sources})