Set CPACK_RPM_PACKAGE_RELEASE_DIST to ON in the CMakeLists.txt file.

This commit is contained in:
Username404-59 2021-02-27 12:07:07 +01:00
parent 6d3bb893a8
commit d421ef0cb6
Signed by: Username404-59
GPG Key ID: 7AB361FBB257A5D1
1 changed files with 1 additions and 0 deletions

View File

@ -57,6 +57,7 @@ if (UNIX AND NOT MINGW)
set(CPACK_RPM_PACKAGE_LICENSE "MPL-2.0")
set(CPACK_RPM_PACKAGE_VERSION ${PROJECT_VERSION})
set(CPACK_RPM_PACKAGE_RELEASE ${TIME})
set(CPACK_RPM_PACKAGE_RELEASE_DIST ON)
if (NOT DEFINED CPACK_GENERATOR)
set(CPACK_GENERATOR TGZ;STGZ;RPM;DEB)
endif()