summaryrefslogtreecommitdiffstats
path: root/cmake
diff options
context:
space:
mode:
authorDavid Skoland <david.skoland@qt.io>2022-09-27 14:51:09 +0200
committerDavid Skoland <david.skoland@qt.io>2022-09-28 09:48:06 +0200
commitc3730ffa9228ba43f4b7c7ec518a7a47e981ff2e (patch)
tree4fc1099203c518f29c59066af176b04fb72123a5 /cmake
parent2efd2f490c1620343447198dc27e0340e4e670f6 (diff)
wasm: enable QT_BUILD_MINIMAL_STATIC_TESTS by default
Wasm doesn't play well with these baseline tests in general, so we can disable them for now. Pick-to: 6.4 Change-Id: I5a66a932449c8934d88b94e419aae5ddcc89ee78 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'cmake')
-rw-r--r--cmake/QtSetup.cmake8
1 files changed, 7 insertions, 1 deletions
diff --git a/cmake/QtSetup.cmake b/cmake/QtSetup.cmake
index eec10bfa42..a523e2cc2c 100644
--- a/cmake/QtSetup.cmake
+++ b/cmake/QtSetup.cmake
@@ -273,7 +273,13 @@ option(QT_BUILD_EXAMPLES_AS_EXTERNAL "Should examples be built as ExternalProjec
unset(_qt_build_examples_as_external)
option(QT_BUILD_MANUAL_TESTS "Build Qt manual tests" OFF)
-option(QT_BUILD_MINIMAL_STATIC_TESTS "Build minimal subset of tests for static Qt builds" OFF)
+
+if(WASM)
+ option(QT_BUILD_MINIMAL_STATIC_TESTS "Build minimal subset of tests for static Qt builds" ON)
+else()
+ option(QT_BUILD_MINIMAL_STATIC_TESTS "Build minimal subset of tests for static Qt builds" OFF)
+endif()
+
option(QT_BUILD_MINIMAL_ANDROID_MULTI_ABI_TESTS
"Build minimal subset of tests for Android multi-ABI Qt builds" OFF)