diff options
author | Dmitry Kozlov <xeb@mail.ru> | 2017-12-15 14:10:53 +0300 |
---|---|---|
committer | Dmitry Kozlov <xeb@mail.ru> | 2017-12-15 14:10:53 +0300 |
commit | efd1a045ded13cc50e20f0125118139a36df6ff2 (patch) | |
tree | e4aec74586bc37ccd195737013ed1666a180bc72 /cmake/cpack.cmake | |
parent | d423bcad1a9f321c38c707232a625de856b04bc4 (diff) | |
download | accel-ppp-xebd-efd1a045ded13cc50e20f0125118139a36df6ff2.tar.gz accel-ppp-xebd-efd1a045ded13cc50e20f0125118139a36df6ff2.zip |
cmake: added centos support
Diffstat (limited to 'cmake/cpack.cmake')
-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 692fbf7..412eadf 100644 --- a/cmake/cpack.cmake +++ b/cmake/cpack.cmake @@ -32,4 +32,12 @@ IF(CPACK_TYPE STREQUAL Debian8) INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/debian/debian.cmake) ENDIF(CPACK_TYPE STREQUAL Debian8) +IF(CPACK_TYPE STREQUAL Centos7) + 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.17, openssl-libs >= 1.0.2k, pcre >= 8.32") + INCLUDE(${CMAKE_HOME_DIRECTORY}/cmake/centos/centos.cmake) +ENDIF() + INCLUDE(CPack) |