summaryrefslogtreecommitdiff
path: root/cmake/cpack.cmake
diff options
context:
space:
mode:
authorDmitry Kozlov <xeb@mail.ru>2018-01-06 20:57:22 +0300
committerDmitry Kozlov <xeb@mail.ru>2018-01-06 20:57:22 +0300
commitf745befbea4d09fb47d5172d58f5b4a162d18977 (patch)
tree6e40629116570017866686d5443089cc813010d1 /cmake/cpack.cmake
parent7cf52228f39c78bda7d2402faf8faf4ee7d4a6e5 (diff)
downloadaccel-ppp-f745befbea4d09fb47d5172d58f5b4a162d18977.tar.gz
accel-ppp-f745befbea4d09fb47d5172d58f5b4a162d18977.zip
cmake: added CPACK_TYPE=Debian9
Diffstat (limited to 'cmake/cpack.cmake')
-rw-r--r--cmake/cpack.cmake7
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")