diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2011-01-26 00:50:30 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2011-01-26 00:50:30 +0300 |
commit | 64b0cc8703122437fb46e890ea0c0b4fda1d77da (patch) | |
tree | c6a29f38bb442474ab8af80894cfce0b499fc023 /accel-pppd/CMakeLists.txt | |
parent | 2742af0f2760b7b8d326aa4112aac14b453e3bbb (diff) | |
download | accel-ppp-64b0cc8703122437fb46e890ea0c0b4fda1d77da.tar.gz accel-ppp-64b0cc8703122437fb46e890ea0c0b4fda1d77da.zip |
futher memory usage optimization
Diffstat (limited to 'accel-pppd/CMakeLists.txt')
-rw-r--r-- | accel-pppd/CMakeLists.txt | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/accel-pppd/CMakeLists.txt b/accel-pppd/CMakeLists.txt index 526ad89..8e0af47 100644 --- a/accel-pppd/CMakeLists.txt +++ b/accel-pppd/CMakeLists.txt @@ -31,6 +31,13 @@ ADD_DEFINITIONS(-DACCEL_PPP_VERSION="${ACCEL_PPP_VERSION}") INCLUDE_DIRECTORIES(include) +IF (MEMDEBUG) + ADD_DEFINITIONS(-DMEMDEBUG) + IF (VALGRIND) + ADD_DEFINITIONS(-DVALGRIND) + ENDIF (VALGRIND) +ENDIF (MEMDEBUG) + IF (NOT DEFINED RADIUS) SET(RADIUS TRUE) ENDIF (NOT DEFINED RADIUS) @@ -40,13 +47,6 @@ IF (RADIUS) ADD_SUBDIRECTORY(radius) ENDIF (RADIUS) -IF (MEMDEBUG) - ADD_DEFINITIONS(-DMEMDEBUG) - IF (VALGRIND) - ADD_DEFINITIONS(-DVALGRIND) - ENDIF (VALGRIND) -ENDIF (MEMDEBUG) - ADD_SUBDIRECTORY(triton) ADD_SUBDIRECTORY(ctrl) ADD_SUBDIRECTORY(auth) |