From 649b1774a1967cd3d5760d9a702aab06ab3e5824 Mon Sep 17 00:00:00 2001 From: Mikolaj Boc Date: Mon, 15 Aug 2022 09:14:27 +0200 Subject: [PATCH] Make wasm finalizers work for standalone tests and other repos The wasm helpers file is not included in QtBuild and is thus not visible when standalone tests or other repos are being built. This fixes it. Amends 1f9c1f032c5d8af2c6758081eb8de076fe678b53 Fixes: QTBUG-105615 Change-Id: I6c9229e1f259fa5043d7d11b8ee0293e26077f3e Reviewed-by: Alexandru Croitor (cherry picked from commit 644ae42e12feb0056385ddb28f444e72107c9dc7) Reviewed-by: Qt Cherry-pick Bot --- cmake/QtBuild.cmake | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index 4b7cc643bb2..5cdbec34ba2 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -543,6 +543,10 @@ if(ANDROID) include(QtAndroidHelpers) endif() +if(WASM) + include(QtWasmHelpers) +endif() + # Helpers that are available in public projects and while building Qt itself. include(QtPublicCMakeHelpers) include(QtPublicPluginHelpers)