summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoerg Bornemann <joerg.bornemann@qt.io>2020-10-05 15:09:02 +0200
committerJoerg Bornemann <joerg.bornemann@qt.io>2020-10-06 06:31:18 +0200
commit260a6e86c2e7f52c9b9f0340249e88d7c56b6406 (patch)
treecf5833742aee51b32c76d98d2540ad298a07cca7
parentcc0c27c4218034bfc932034f0ea4ee655860e23a (diff)
CMake: Extend message functions in QtProcessConfigureArgs.cmake
qtConfAddWarning was missing, despite being used. All of the three qtConfAdd* functions take multiple parameters and pass them to the CMake's message() function. Change-Id: I1fad46c6fd00b2e733b32cda482bbf1341ffc63f Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
-rw-r--r--cmake/QtProcessConfigureArgs.cmake12
1 files changed, 8 insertions, 4 deletions
diff --git a/cmake/QtProcessConfigureArgs.cmake b/cmake/QtProcessConfigureArgs.cmake
index b3b35ee5e4..e28225f323 100644
--- a/cmake/QtProcessConfigureArgs.cmake
+++ b/cmake/QtProcessConfigureArgs.cmake
@@ -199,12 +199,16 @@ get_property(commandline_known_features GLOBAL PROPERTY COMMANDLINE_KNOWN_FEATUR
# Process the data from the qt_cmdline.cmake files
####################################################################################################
-function(qtConfAddNote msg)
- message(WARNING "${msg}")
+function(qtConfAddNote)
+ message(${ARGV})
endfunction()
-function(qtConfAddError msg)
- message(FATAL_ERROR "${msg}")
+function(qtConfAddWarning)
+ message(WARNING ${ARGV})
+endfunction()
+
+function(qtConfAddError)
+ message(FATAL_ERROR ${ARGV})
endfunction()
set_property(GLOBAL PROPERTY CONFIG_INPUTS "")