diff options
author | xebd <xeb@mail.ru> | 2018-12-03 12:58:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-03 12:58:09 +0300 |
commit | 7b9473ddbb13644e65c8c2d80ced0c3869409058 (patch) | |
tree | 91d482381fc96976d39798dff2ee056cb4bb1f2e | |
parent | b9db07ae68b8b751e1822e44cb638969773165ab (diff) | |
parent | 601c6e21ee62b210bf9cf05a19bdfe765596e574 (diff) | |
download | accel-ppp-7b9473ddbb13644e65c8c2d80ced0c3869409058.tar.gz accel-ppp-7b9473ddbb13644e65c8c2d80ced0c3869409058.zip |
Merge pull request #60 from DmitriyEshenko/master
Add support cpack for Ubuntu18
-rw-r--r-- | cmake/cpack.cmake | 5 |
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") |