summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorroot <snooppy@mail.ua>2018-11-30 22:08:49 +0300
committerroot <snooppy@mail.ua>2018-11-30 22:08:49 +0300
commitf45e470d469fd063696f88d40602611ba2fd74e7 (patch)
tree0947ffbd6c518a9116283e407ff1b381e0820938
parent707e1547925b4781047d9ee8677e294b8d5339a0 (diff)
downloadaccel-ppp-f45e470d469fd063696f88d40602611ba2fd74e7.tar.gz
accel-ppp-f45e470d469fd063696f88d40602611ba2fd74e7.zip
Add support cpack for Ubuntu16
-rw-r--r--cmake/cpack.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake
index 4edf3cf2..3b300d41 100644
--- a/cmake/cpack.cmake
+++ b/cmake/cpack.cmake
@@ -37,6 +37,11 @@ IF(CPACK_TYPE STREQUAL Debian9)
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
ENDIF(CPACK_TYPE STREQUAL Debian9)
+IF(CPACK_TYPE STREQUAL Ubuntu16)
+ SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.24), libssl1.0.0 (>= 1.0.2t), libpcre3 (>= 8.39)")
+ INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
+ENDIF(CPACK_TYPE STREQUAL Ubuntu16)
+
IF(CPACK_TYPE STREQUAL Centos7)
SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
SET(CPACK_RPM_PACKAGE_URL "http://accel-ppp.org")