Include Qt6WasmMacros in WASM build

This fixes the issue where WASM could not even be configured with
autotests enabled.

Change-Id: I0890d52754de92fa84be170906fcb0478e90304e
Pick-to: 6.3
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
This commit is contained in:
David Skoland 2022-01-03 10:22:08 +01:00
parent 63ffae3fa3
commit 03c597ba15

View File

@ -123,6 +123,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()