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>
This commit is contained in:
Joerg Bornemann 2020-10-05 15:09:02 +02:00
parent cc0c27c421
commit 260a6e86c2

View File

@ -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 "")