aboutsummaryrefslogtreecommitdiff
path: root/kde-modules
diff options
context:
space:
mode:
authorFriedrich W. H. Kossebau <kossebau@kde.org>2021-07-15 15:12:21 +0200
committerFriedrich W. H. Kossebau <kossebau@kde.org>2021-07-15 15:20:19 +0200
commit0bb0b1b5f6d7df18d305b85c4914346007815fef (patch)
treef0d2d8323b810c853c6eba8b1be09133a132a96d /kde-modules
parentc55569aa82320b563e2449d0b6e13d00054c0317 (diff)
downloadextra-cmake-modules-0bb0b1b5f6d7df18d305b85c4914346007815fef.tar.gz
extra-cmake-modules-0bb0b1b5f6d7df18d305b85c4914346007815fef.tar.bz2
KDECompilerSettings: fix message status on too high KDE_COMPILERSETTINGS_LEVEL
Also print current values for more context NO_CHANGELOG
Diffstat (limited to 'kde-modules')
-rw-r--r--kde-modules/KDECompilerSettings.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/kde-modules/KDECompilerSettings.cmake b/kde-modules/KDECompilerSettings.cmake
index ead3b31b..83fa24fe 100644
--- a/kde-modules/KDECompilerSettings.cmake
+++ b/kde-modules/KDECompilerSettings.cmake
@@ -212,7 +212,7 @@ if(NOT DEFINED KDE_COMPILERSETTINGS_LEVEL)
set(KDE_COMPILERSETTINGS_LEVEL "${ECM_GLOBAL_FIND_VERSION}")
else()
if(KDE_COMPILERSETTINGS_LEVEL VERSION_GREATER "${ECM_GLOBAL_FIND_VERSION}")
- message(FATAL "KDE_COMPILERSETTINGS_LEVEL cannot be newer than the min. required ECM version.")
+ message(FATAL_ERROR "KDE_COMPILERSETTINGS_LEVEL (${KDE_COMPILERSETTINGS_LEVEL}) cannot be newer than the min. required ECM version (${ECM_GLOBAL_FIND_VERSION}).")
endif()
endif()