summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorDmitriyEshenko <snooppy@mail.ua>2019-12-22 13:43:45 -0500
committerDmitriyEshenko <snooppy@mail.ua>2019-12-22 13:43:45 -0500
commitd06e7e94d651bd66e65f0f33146d568173b91750 (patch)
tree956810699025f605b932c125e51157d76b21c8b8 /cmake
parente4dbc2743bed806abe038a810b1abec8dede95af (diff)
downloadaccel-ppp-d06e7e94d651bd66e65f0f33146d568173b91750.tar.gz
accel-ppp-d06e7e94d651bd66e65f0f33146d568173b91750.zip
cpack: Add rules and requirements for Centos 8
Diffstat (limited to 'cmake')
-rw-r--r--cmake/cpack.cmake8
1 files changed, 8 insertions, 0 deletions
diff --git a/cmake/cpack.cmake b/cmake/cpack.cmake
index 5b18d86..0f270cf 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)