Add the MPL to rpm packages, and add the build's timestamp to the release variable for rpm packages.
This commit is contained in:
parent
f339217a2f
commit
cb657ad455
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue