diff options
author | Vladislav Grishenko <themiron@mail.ru> | 2012-11-16 14:17:19 +0400 |
---|---|---|
committer | Kozlov Dmitry <xeb@mail.ru> | 2012-11-16 14:17:19 +0400 |
commit | bf97ff971c4aef091bbddea61c7bc35c1684e095 (patch) | |
tree | c2f9875b1f9912d77dee18fcd7e0a7ef893ed17f | |
parent | 7008d633eac8602c1c1d480b61dd05abc48f34bc (diff) | |
download | accel-ppp-bf97ff971c4aef091bbddea61c7bc35c1684e095.tar.gz accel-ppp-bf97ff971c4aef091bbddea61c7bc35c1684e095.zip |
optional shaper compiling
-rw-r--r-- | accel-pppd/CMakeLists.txt | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/accel-pppd/CMakeLists.txt b/accel-pppd/CMakeLists.txt index 0f7ab089..a556a381 100644 --- a/accel-pppd/CMakeLists.txt +++ b/accel-pppd/CMakeLists.txt @@ -39,7 +39,14 @@ ADD_SUBDIRECTORY(auth) ADD_SUBDIRECTORY(logs) ADD_SUBDIRECTORY(extra) ADD_SUBDIRECTORY(ipv6) -ADD_SUBDIRECTORY(shaper) + +IF (NOT DEFINED SHAPER) + SET(SHAPER TRUE) +ENDIF (NOT DEFINED SHAPER) + +IF (SHAPER) + ADD_SUBDIRECTORY(shaper) +ENDIF (SHAPER) ADD_EXECUTABLE(accel-pppd ppp/ppp.c |