From 0bb0b1b5f6d7df18d305b85c4914346007815fef Mon Sep 17 00:00:00 2001 From: "Friedrich W. H. Kossebau" Date: Thu, 15 Jul 2021 15:12:21 +0200 Subject: KDECompilerSettings: fix message status on too high KDE_COMPILERSETTINGS_LEVEL Also print current values for more context NO_CHANGELOG --- kde-modules/KDECompilerSettings.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'kde-modules/KDECompilerSettings.cmake') 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() -- cgit v1.2.1