From d06e7e94d651bd66e65f0f33146d568173b91750 Mon Sep 17 00:00:00 2001 From: DmitriyEshenko Date: Sun, 22 Dec 2019 13:43:45 -0500 Subject: cpack: Add rules and requirements for Centos 8 --- cmake/cpack.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'cmake') diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake index 5b18d86a..0f270cf8 100644 --- a/cmake/cpack.cmake +++ b/cmake/cpack.cmake @@ -60,4 +60,12 @@ IF(CPACK_TYPE STREQUAL Centos7) INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/centos/centos.cmake) ENDIF() +IF(CPACK_TYPE STREQUAL Centos8) + SET(CPACK_RPM_PACKAGE_LICENSE "GPL") + SET(CPACK_RPM_PACKAGE_URL "http://accel-ppp.org") + SET(CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST_ADDITION "/usr/sbin") + SET(CPACK_RPM_PACKAGE_REQUIRES "glibc >= 2.28, openssl-libs >= 1.1.1, pcre >= 8.42") + INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/centos/centos.cmake) +ENDIF() + INCLUDE(CPack) -- cgit v1.2.3