From 76d5bceba7f1c553b02def689f2010db671ec60f Mon Sep 17 00:00:00 2001 From: Joerg Bornemann Date: Thu, 4 Jul 2024 15:20:12 +0200 Subject: [PATCH] configure: Fix --foo=bar arguments Commit ae64c54f8cc2491988241a7433f5e8cfc6016ab4 broke configure arguments like --webengine-jumbo-build=20. That commit transforms the argument to -webengine-jumbo-build=20 but single-hyphen arguments take values without an equal sign. We need to store the unaltered argument (with the two hyphens) for further handling instead of the single-hyphen variant. Pick-to: 6.8 Fixes: QTBUG-126872 Change-Id: I243eb072dfe5535a648bd78bb3aeb3b9e0e4ede0 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 94bf5f4bff1..86c6d4b09b7 100644 --- a/cmake/QtProcessConfigureArgs.cmake +++ b/cmake/QtProcessConfigureArgs.cmake @@ -167,7 +167,7 @@ while(NOT "${configure_args}" STREQUAL "") list(APPEND cmake_args "${configure_args}") break() else() - set_property(GLOBAL APPEND PROPERTY UNHANDLED_ARGS "${arg}") + set_property(GLOBAL APPEND PROPERTY UNHANDLED_ARGS "${raw_arg}") endif() endwhile()