diff --git a/CMakeLists.txt b/CMakeLists.txt index c272ab6f05b..963ed295bf6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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()