diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2010-10-15 22:12:28 +0400 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2010-10-17 19:19:45 +0400 |
commit | ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202 (patch) | |
tree | d0071d27489056e4beea5e289e28d1d57dc516f1 /CMakeLists.txt | |
parent | d32cf13525153b9bb961a72cded215e9866e78bd (diff) | |
download | accel-ppp-ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202.tar.gz accel-ppp-ab92d89ca62f3a9e63ae4f8731efcdbd1d0a7202.zip |
added cpack interface to generate deb packages
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ee7017f..5468f0f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,8 +1,13 @@ PROJECT (accel-pptpd C) cmake_minimum_required(VERSION 2.6) -ADD_SUBDIRECTORY(accel-pptpd) +include(cmake/cpack.cmake) + +if (NOT BUILD_DRIVER_ONLY) + ADD_SUBDIRECTORY(accel-pptpd) +endif (NOT BUILD_DRIVER_ONLY) + +if (BUILD_DRIVER OR BUILD_DRIVER_ONLY) + ADD_SUBDIRECTORY(driver) +endif (BUILD_DRIVER OR BUILD_DRIVER_ONLY) -if (BUILD_DRIVER) - ADD_SUBDIRECTORY(driver) -endif (BUILD_DRIVER) |