summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorxebd <xeb@mail.ru>2018-12-02 10:08:24 +0300
committerGitHub <noreply@github.com>2018-12-02 10:08:24 +0300
commitb9db07ae68b8b751e1822e44cb638969773165ab (patch)
tree0947ffbd6c518a9116283e407ff1b381e0820938 /cmake
parent707e1547925b4781047d9ee8677e294b8d5339a0 (diff)
parentf45e470d469fd063696f88d40602611ba2fd74e7 (diff)
downloadaccel-ppp-b9db07ae68b8b751e1822e44cb638969773165ab.tar.gz
accel-ppp-b9db07ae68b8b751e1822e44cb638969773165ab.zip
Merge pull request #59 from DmitriyEshenko/master
Add support cpack for Ubuntu16
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 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")