configure: Fix --foo=bar arguments
Commit ae64c54f8c 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.
Fixes: QTBUG-126872
Change-Id: I243eb072dfe5535a648bd78bb3aeb3b9e0e4ede0
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
(cherry picked from commit 76d5bceba7f1c553b02def689f2010db671ec60f)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
bb10
parent
f57d5c492d
commit
dc3b7d2203
|
|
@ -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()
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue