Merge integration refs/builds/qtci/dev/1616493800

bb10
Qt CI Bot 2021-03-23 14:15:29 +00:00
commit 661fb133aa
1 changed files with 4 additions and 2 deletions

View File

@ -82,8 +82,10 @@ while(NOT "${configure_args}" STREQUAL "")
elseif(arg MATCHES "^-host.*dir")
message(FATAL_ERROR "${arg} is not supported anymore.")
elseif(arg STREQUAL "--")
# Everything after this argument will be passed to CMake verbatim.
push(${configure_args})
# Everything after this argument will be passed to CMake verbatim,
# but we need to escape semi-colons so that lists are preserved.
string(REPLACE ";" "\\;" configure_args "${configure_args}")
list(APPEND cmake_args "${configure_args}")
break()
else()
set_property(GLOBAL APPEND PROPERTY UNHANDLED_ARGS "${arg}")