summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2022-08-15 09:14:27 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-08-15 19:05:28 +0000
commit649b1774a1967cd3d5760d9a702aab06ab3e5824 (patch)
treedb8cd0ecbc63d5363bf89b9de0d22b38ad9fe3a1 /cmake
parentcb9eb8e8fdc4cf3d47338651b0ff2f3f2b892f38 (diff)
downloadqtbase-649b1774a1967cd3d5760d9a702aab06ab3e5824.tar.gz
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 <alexandru.croitor@qt.io> (cherry picked from commit 644ae42e12feb0056385ddb28f444e72107c9dc7) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtBuild.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake
index 4b7cc643bb..5cdbec34ba 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)