summaryrefslogtreecommitdiff
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt19
1 files changed, 7 insertions, 12 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c41f0e02..9ea7f4f0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -30,7 +30,7 @@ IF (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT IGNORE_GIT)
)
STRING(STRIP ${ACCEL_PPP_VERSION} ACCEL_PPP_VERSION)
ELSE (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT IGNORE_GIT)
- SET (ACCEL_PPP_VERSION 1.8.0)
+ SET (ACCEL_PPP_VERSION 1.9.0)
ENDIF (EXISTS ${CMAKE_HOME_DIRECTORY}/.git AND NOT IGNORE_GIT)
ADD_DEFINITIONS(-DACCEL_PPP_VERSION="${ACCEL_PPP_VERSION}")
@@ -64,17 +64,12 @@ if (NOT BUILD_DRIVER_ONLY)
add_subdirectory(accel-cmd)
endif (NOT BUILD_DRIVER_ONLY)
-if (BUILD_PPTP_DRIVER OR BUILD_DRIVER_ONLY)
- if (BUILD_PPTP_DRIVER)
- add_subdirectory(drivers/pptp)
- endif (BUILD_PPTP_DRIVER)
-endif (BUILD_PPTP_DRIVER OR BUILD_DRIVER_ONLY)
+if (BUILD_PPTP_DRIVER)
+ add_subdirectory(drivers/pptp)
+endif (BUILD_PPTP_DRIVER)
-if (BUILD_IPOE_DRIVER OR BUILD_DRIVER_ONLY)
- if (BUILD_IPOE_DRIVER)
- add_subdirectory(drivers/ipoe)
- endif (BUILD_IPOE_DRIVER)
-endif (BUILD_IPOE_DRIVER OR BUILD_DRIVER_ONLY)
+if (BUILD_IPOE_DRIVER)
+ add_subdirectory(drivers/ipoe)
+endif (BUILD_IPOE_DRIVER)
CONFIGURE_FILE(${CMAKE_CURRENT_SOURCE_DIR}/config.h.in ${CMAKE_CURRENT_BINARY_DIR}/config.h)
-