diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2022-11-18 22:17:56 +0100 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2022-11-23 20:07:51 +0100 |
commit | ab0b005a57714d944415a818a53031e254877bb1 (patch) | |
tree | ca51a92a307612b39e2a260902f4482571f3220d /coin/platform_configs/cmake_platforms_wasm.yaml | |
parent | 2034c7195328881f34583acda51a74fceea61618 (diff) |
Add the missing additional CMake host prefix to Android and WASM platforms
Add QT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH for Android and WASM
platforms to allow CMake find the host qtprotobufgen. The prefix points
to a host Protobuf package which qtprotobufgen depends on.
Change-Id: I2250614dceafb4b93a8a13ddb549f4ecc459436b
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Diffstat (limited to 'coin/platform_configs/cmake_platforms_wasm.yaml')
-rw-r--r-- | coin/platform_configs/cmake_platforms_wasm.yaml | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/coin/platform_configs/cmake_platforms_wasm.yaml b/coin/platform_configs/cmake_platforms_wasm.yaml index 9129ec6d..5a85d471 100644 --- a/coin/platform_configs/cmake_platforms_wasm.yaml +++ b/coin/platform_configs/cmake_platforms_wasm.yaml @@ -48,9 +48,10 @@ Configurations: 'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW1120}}\bin;{{.Env.Path}}', 'EM_CONFIG={{.Env.EMSDK}}/.emscripten', 'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples', - 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF', + 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF -DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}}', 'CONAN_HOST_PROFILE=coin/conan/profiles/ci-windows-x86_64-mingw', - 'CONAN_PROFILE=coin/conan/profiles/ci-windows-webassembly-x86_64-clang'] + 'CONAN_PROFILE=coin/conan/profiles/ci-windows-webassembly-x86_64-clang', + ] - Id: 'webassembly-windows-thread' Template: 'qtci-windows-10_22H2-x86_64-50' @@ -63,7 +64,7 @@ Configurations: 'Path={{.Env.EMSDK_PATH}};{{.Env.MINGW1120}}\bin;{{.Env.Path}}', 'EM_CONFIG={{.Env.EMSDK}}/.emscripten', 'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread', - 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF', + 'NON_QTBASE_TARGET_CMAKE_ARGS=-DFEATURE_pkg_config=OFF -DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH={{.Env.Protobuf_ROOT_mingw}}', ] - Id: 'webassembly-macos' @@ -77,7 +78,8 @@ Configurations: 'EM_CONFIG={{.Env.EMSDK}}/.emscripten', 'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples', 'CONAN_HOST_PROFILE=coin/conan/profiles/ci-macos-universal-clang', - 'CONAN_PROFILE=coin/conan/profiles/ci-macos-webassembly-x86_64-clang' + 'CONAN_PROFILE=coin/conan/profiles/ci-macos-webassembly-x86_64-clang', + 'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local', ] - Id: 'webassembly-macos-thread' @@ -90,4 +92,5 @@ Configurations: Environment variables: [ 'EM_CONFIG={{.Env.EMSDK}}/.emscripten', 'TARGET_CONFIGURE_ARGS=-release -platform wasm-emscripten -nomake examples -feature-thread', + 'NON_QTBASE_TARGET_CMAKE_ARGS=-DQT_ADDITIONAL_HOST_PACKAGES_PREFIX_PATH=/usr/local', ] |