From ca407da21ee0813c3f6d7803b17451cfc21b6c50 Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 20 Feb 2025 11:49:29 +0100 Subject: [PATCH] configure: Fix implementation glitch In the code block that transforms the global INPUT_* properties into variables, there's a check that's supposed to guard already set 'commandline_input_foo_type' variables. However, the input name was missing from the check, and we always called get_property. Change-Id: I87b74726492c00a86e7c034c10e8dcf137f67082 Reviewed-by: Alexey Edelev Reviewed-by: Alexandru Croitor --- cmake/QtProcessConfigureArgs.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/QtProcessConfigureArgs.cmake b/cmake/QtProcessConfigureArgs.cmake index 0fadd2ed908..4dab078cd47 100644 --- a/cmake/QtProcessConfigureArgs.cmake +++ b/cmake/QtProcessConfigureArgs.cmake @@ -798,7 +798,7 @@ get_property(config_inputs GLOBAL PROPERTY CONFIG_INPUTS) list(REMOVE_DUPLICATES config_inputs) foreach(var ${config_inputs}) get_property(INPUT_${var} GLOBAL PROPERTY INPUT_${var}) - if("${commandline_input_type}" STREQUAL "") + if("${commandline_input_${var}_type}" STREQUAL "") get_property(commandline_input_${var}_type GLOBAL PROPERTY INPUTTYPE_${var}) endif() endforeach()