Set CPACK_RPM_PACKAGE_RELEASE_DIST to ON in the CMakeLists.txt file.
This commit is contained in:
parent
6d3bb893a8
commit
d421ef0cb6
|
@ -57,6 +57,7 @@ if (UNIX AND NOT MINGW)
|
||||||
set(CPACK_RPM_PACKAGE_LICENSE "MPL-2.0")
|
set(CPACK_RPM_PACKAGE_LICENSE "MPL-2.0")
|
||||||
set(CPACK_RPM_PACKAGE_VERSION ${PROJECT_VERSION})
|
set(CPACK_RPM_PACKAGE_VERSION ${PROJECT_VERSION})
|
||||||
set(CPACK_RPM_PACKAGE_RELEASE ${TIME})
|
set(CPACK_RPM_PACKAGE_RELEASE ${TIME})
|
||||||
|
set(CPACK_RPM_PACKAGE_RELEASE_DIST ON)
|
||||||
if (NOT DEFINED CPACK_GENERATOR)
|
if (NOT DEFINED CPACK_GENERATOR)
|
||||||
set(CPACK_GENERATOR TGZ;STGZ;RPM;DEB)
|
set(CPACK_GENERATOR TGZ;STGZ;RPM;DEB)
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in New Issue