summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDmitriyEshenko <snooppy@mail.ua>2018-12-03 08:24:13 +0000
committerDmitriyEshenko <snooppy@mail.ua>2018-12-03 08:24:13 +0000
commit601c6e21ee62b210bf9cf05a19bdfe765596e574 (patch)
tree91d482381fc96976d39798dff2ee056cb4bb1f2e /cmake
parentb9db07ae68b8b751e1822e44cb638969773165ab (diff)
downloadaccel-ppp-601c6e21ee62b210bf9cf05a19bdfe765596e574.tar.gz
accel-ppp-601c6e21ee62b210bf9cf05a19bdfe765596e574.zip
Add support cpack for Ubuntu18
Diffstat (limited to 'cmake')
-rw-r--r--cmake/cpack.cmake5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake
index 3b300d41..cb22a424 100644
--- a/cmake/cpack.cmake
+++ b/cmake/cpack.cmake
@@ -42,6 +42,11 @@ IF(CPACK_TYPE STREQUAL Ubuntu16)
INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
ENDIF(CPACK_TYPE STREQUAL Ubuntu16)
+IF(CPACK_TYPE STREQUAL Ubuntu18)
+ SET(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.24), libssl1.0.0 (>= 1.0.2n), libpcre3 (>= 8.39)")
+ INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake)
+ENDIF(CPACK_TYPE STREQUAL Ubuntu18)
+
IF(CPACK_TYPE STREQUAL Centos7)
SET(CPACK_RPM_PACKAGE_LICENSE "GPL")
SET(CPACK_RPM_PACKAGE_URL "http://accel-ppp.org")