From 601c6e21ee62b210bf9cf05a19bdfe765596e574 Mon Sep 17 00:00:00 2001
From: DmitriyEshenko <snooppy@mail.ua>
Date: Mon, 3 Dec 2018 08:24:13 +0000
Subject: Add support cpack for Ubuntu18

---
 cmake/cpack.cmake | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'cmake')

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")
-- 
cgit v1.2.3