From 644ae42e12feb0056385ddb28f444e72107c9dc7 Mon Sep 17 00:00:00 2001 From: Mikolaj Boc Date: Mon, 15 Aug 2022 09:14:27 +0200 Subject: 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 Pick-to: 6.4 Fixes: QTBUG-105615 Change-Id: I6c9229e1f259fa5043d7d11b8ee0293e26077f3e Reviewed-by: Alexandru Croitor --- cmake/QtBuild.cmake | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'cmake/QtBuild.cmake') diff --git a/cmake/QtBuild.cmake b/cmake/QtBuild.cmake index 4f49ba7d8e..40c7080584 100644 --- a/cmake/QtBuild.cmake +++ b/cmake/QtBuild.cmake @@ -546,6 +546,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) -- cgit v1.2.3