diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2018-01-06 20:57:22 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2018-01-06 20:57:22 +0300 |
commit | f745befbea4d09fb47d5172d58f5b4a162d18977 (patch) | |
tree | 6e40629116570017866686d5443089cc813010d1 /cmake/cpack.cmake | |
parent | 7cf52228f39c78bda7d2402faf8faf4ee7d4a6e5 (diff) | |
download | accel-ppp-f745befbea4d09fb47d5172d58f5b4a162d18977.tar.gz accel-ppp-f745befbea4d09fb47d5172d58f5b4a162d18977.zip |
cmake: added CPACK_TYPE=Debian9
Diffstat (limited to 'cmake/cpack.cmake')
-rw-r--r-- | cmake/cpack.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake index 412eadf..4edf3cf 100644 --- a/cmake/cpack.cmake +++ b/cmake/cpack.cmake @@ -2,7 +2,7 @@ INCLUDE(InstallRequiredSystemLibraries) SET(CPACK_PACKAGE_VERSION_MAJOR "1") SET(CPACK_PACKAGE_VERSION_MINOR "11") -SET(CPACK_PACKAGE_VERSION_PATCH "0") +SET(CPACK_PACKAGE_VERSION_PATCH "99") SET(CPACK_PACKAGE_NAME "accel-ppp") SET(CPACK_PACKAGE_CONTACT "Dmitry Kozlov <xeb@mail.ru>") @@ -32,6 +32,11 @@ IF(CPACK_TYPE STREQUAL Debian8) INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake) ENDIF(CPACK_TYPE STREQUAL Debian8) +IF(CPACK_TYPE STREQUAL Debian9) + SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.24), libssl1.0.2 (>= 1.0.2l), libpcre3 (>= 8.39)") + INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake) +ENDIF(CPACK_TYPE STREQUAL Debian9) + IF(CPACK_TYPE STREQUAL Centos7) SET(CPACK_RPM_PACKAGE_LICENSE "GPL") SET(CPACK_RPM_PACKAGE_URL "http://accel-ppp.org") |