diff --git a/cmake/QtProcessConfigureArgs.cmake b/cmake/QtProcessConfigureArgs.cmake index 07ac50e000e..70dd5b92e3f 100644 --- a/cmake/QtProcessConfigureArgs.cmake +++ b/cmake/QtProcessConfigureArgs.cmake @@ -185,6 +185,10 @@ function(qt_commandline_assignment var internal_var) set(commandline_nr_of_assignments ${n} PARENT_SCOPE) endfunction() +# Check the following variable in configure.cmake files to guard code that is not covered by the +# stub functions above. +set(QT_CONFIGURE_RUNNING ON) + #################################################################################################### # Load qt_cmdline.cmake files