Include CMAKE_VERSION in the CPack 3.21.1 warning, just in case the condition needs to be changed in a future version
This commit is contained in:
parent
458d272088
commit
37b7cbb16d
|
@ -139,7 +139,7 @@ if (UNIX AND NOT MINGW)
|
|||
set(CPACK_RPM_PACKAGE_LICENSE "MPL-2.0")
|
||||
set(CPACK_RPM_CHANGELOG_FILE "${CMAKE_CURRENT_SOURCE_DIR}/changelog")
|
||||
if (CMAKE_VERSION STREQUAL "3.21.1")
|
||||
message(WARNING "CPack 3.21.1 has a bug that causes rpm scripts to be unusable; please update or downgrade")
|
||||
message(WARNING "CPack ${CMAKE_VERSION} has a bug which causes rpm scripts to be unusable; please update or downgrade")
|
||||
endif()
|
||||
if (NOT APPLE)
|
||||
set(GZNAME "changelog.Debian.gz")
|
||||
|
|
Loading…
Reference in New Issue