summaryrefslogtreecommitdiff
path: root/accel-pppd
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2017-10-23 16:38:31 +0300
committerDmitry Kozlov <xeb@mail.ru>2017-10-23 16:38:31 +0300
commit348a264841c6d9681aee0327d704d61893c8d726 (patch)
treeaad6bdb2aad768ca3077e2c3a9eec35fb5df3981 /accel-pppd
parent405a4d8de0048aa77d09380b33a3f06149d16765 (diff)
downloadaccel-ppp-348a264841c6d9681aee0327d704d61893c8d726.tar.gz
accel-ppp-348a264841c6d9681aee0327d704d61893c8d726.zip
cmake: initialize lua before radius
Diffstat (limited to 'accel-pppd')
-rw-r--r--accel-pppd/CMakeLists.txt10
1 files changed, 5 insertions, 5 deletions
diff --git a/accel-pppd/CMakeLists.txt b/accel-pppd/CMakeLists.txt
index 082c93bc..d7eaf1db 100644
--- a/accel-pppd/CMakeLists.txt
+++ b/accel-pppd/CMakeLists.txt
@@ -25,11 +25,6 @@ IF (NOT DEFINED RADIUS)
SET(RADIUS TRUE)
ENDIF (NOT DEFINED RADIUS)
-IF (RADIUS)
- ADD_DEFINITIONS(-DRADIUS)
- ADD_SUBDIRECTORY(radius)
-ENDIF (RADIUS)
-
IF (LUA)
IF (LUA STREQUAL "TRUE")
include(FindLua51)
@@ -42,6 +37,11 @@ IF (LUA)
ADD_SUBDIRECTORY(lua)
ENDIF (LUA)
+IF (RADIUS)
+ ADD_DEFINITIONS(-DRADIUS)
+ ADD_SUBDIRECTORY(radius)
+ENDIF (RADIUS)
+
ADD_SUBDIRECTORY(triton)
ADD_SUBDIRECTORY(vlan-mon)
ADD_SUBDIRECTORY(ctrl)