From 260a6e86c2e7f52c9b9f0340249e88d7c56b6406 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Mon, 5 Oct 2020 15:09:02 +0200 Subject: 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 --- cmake/QtProcessConfigureArgs.cmake | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) (limited to 'cmake/QtProcessConfigureArgs.cmake') 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 "") -- cgit v1.2.3