Fix Multi-ABI builds when CMAKE_<C/CXX>_COMPILER_LAUNCHER contains list
Add list-escaping for CMAKE_<C/CXX>_COMPILER_LAUNCHER variables when
passing them to an external ABI-specific Android project.
Amends c7231177df
Pick-to: 6.3 6.4
Change-Id: I0c98eee6594c395dc6a37465a99ea32b1af39b84
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
50f8a9578d
commit
a2809d9ec1
@ -974,11 +974,17 @@ function(_qt_internal_configure_android_multiabi_target target)
|
||||
endif()
|
||||
|
||||
if(CMAKE_C_COMPILER_LAUNCHER)
|
||||
list(APPEND extra_cmake_args "-DCMAKE_C_COMPILER_LAUNCHER=${CMAKE_C_COMPILER_LAUNCHER}")
|
||||
list(JOIN CMAKE_C_COMPILER_LAUNCHER "$<SEMICOLON>"
|
||||
compiler_launcher)
|
||||
list(APPEND extra_cmake_args
|
||||
"-DCMAKE_C_COMPILER_LAUNCHER=${compiler_launcher}")
|
||||
endif()
|
||||
|
||||
if(CMAKE_CXX_COMPILER_LAUNCHER)
|
||||
list(APPEND extra_cmake_args "-DCMAKE_CXX_COMPILER_LAUNCHER=${CMAKE_CXX_COMPILER_LAUNCHER}")
|
||||
list(JOIN CMAKE_CXX_COMPILER_LAUNCHER "$<SEMICOLON>"
|
||||
compiler_launcher)
|
||||
list(APPEND extra_cmake_args
|
||||
"-DCMAKE_CXX_COMPILER_LAUNCHER=${compiler_launcher}")
|
||||
endif()
|
||||
|
||||
set(missing_qt_abi_toolchains "")
|
||||
|
Loading…
Reference in New Issue
Block a user