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