From aa17dbd250e9802637ac8559ef6f24ca81b1cedd Mon Sep 17 00:00:00 2001 From: David Skoland Date: Mon, 3 Jan 2022 10:22:08 +0100 Subject: [PATCH] Include Qt6WasmMacros in WASM build MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This fixes the issue where WASM could not even be configured with autotests enabled. Change-Id: I0890d52754de92fa84be170906fcb0478e90304e Reviewed-by: Morten Johan Sørvig (cherry picked from commit 03c597ba15da375b0ce7aea195d1800ebd6a0189) Reviewed-by: Qt Cherry-pick Bot --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 751b82a5463..e13ad11d091 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -141,6 +141,7 @@ if(NOT QT_BUILD_STANDALONE_TESTS) if(WASM) # Needed when building for WebAssembly. include(cmake/QtWasmHelpers.cmake) + include(src/corelib/Qt6WasmMacros.cmake) qt_internal_setup_wasm_target_properties(Platform) endif()