diff --git a/CMakeLists.txt b/CMakeLists.txt index 44e5de4..696c1ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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")