Add the MPL to rpm packages, and add the build's timestamp to the release variable for rpm packages.

This commit is contained in:
git 2021-02-14 10:21:54 +01:00
parent f339217a2f
commit cb657ad455
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 3 additions and 0 deletions

View File

@ -43,6 +43,9 @@ if (UNIX AND NOT MINGW)
set(CPACK_TOPLEVEL_TAG "Linux-${CMAKE_CXX_COMPILER_ARCHITECTURE_ID}")
set(CPACK_DEBIAN_PACKAGE_SHLIBDEPS ON)
set(CPACK_RPM_PACKAGE_AUTOREQ YES)
set(CPACK_RPM_PACKAGE_LICENSE "MPL-2.0")
set(CPACK_RPM_PACKAGE_VERSION ${PROJECT_VERSION})
set(CPACK_RPM_PACKAGE_RELEASE ${TIME})
set(CPACK_GENERATOR TGZ;STGZ;DEB;RPM)
install(FILES ${CMAKE_CURRENT_BINARY_DIR}/ybcon
PERMISSIONS