diff options
author | xebd <xeb@mail.ru> | 2019-12-23 12:20:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-12-23 12:20:28 +0300 |
commit | 14203c92120246c3be8d4167392165b68e4fa8d5 (patch) | |
tree | 956810699025f605b932c125e51157d76b21c8b8 | |
parent | e4dbc2743bed806abe038a810b1abec8dede95af (diff) | |
parent | d06e7e94d651bd66e65f0f33146d568173b91750 (diff) | |
download | accel-ppp-14203c92120246c3be8d4167392165b68e4fa8d5.tar.gz accel-ppp-14203c92120246c3be8d4167392165b68e4fa8d5.zip |
Merge pull request #108 from DmitriyEshenko/Centos8-cpack
cpack: Add rules and requirements for Centos 8
-rw-r--r-- | cmake/cpack.cmake | 8 |
1 files changed, 8 insertions, 0 deletions
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) |