Include Qt6WasmMacros in WASM build

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

Change-Id: I0890d52754de92fa84be170906fcb0478e90304e
Reviewed-by: Morten Johan Sørvig <morten.sorvig@qt.io>
(cherry picked from commit 03c597ba15da375b0ce7aea195d1800ebd6a0189)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
This commit is contained in:
David Skoland 2022-01-03 10:22:08 +01:00 committed by Qt Cherry-pick Bot
parent 852b3d7648
commit aa17dbd250

View File

@ -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()