diff options
author | David Skoland <david.skoland@qt.io> | 2022-09-27 14:51:09 +0200 |
---|---|---|
committer | David Skoland <david.skoland@qt.io> | 2022-09-30 11:26:20 +0200 |
commit | 0e8f2fac5a713c657707d7a316559de55bf519bf (patch) | |
tree | 5384e7bff466169f8c1133e774780b540c4a6ffe /cmake | |
parent | 42acd3514b740553da7c155cbd2ff8f6386b973d (diff) | |
download | qtbase-0e8f2fac5a713c657707d7a316559de55bf519bf.tar.gz |
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.
Change-Id: I5a66a932449c8934d88b94e419aae5ddcc89ee78
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
(cherry picked from commit c3730ffa9228ba43f4b7c7ec518a7a47e981ff2e)
Reviewed-by: David Skoland <david.skoland@qt.io>
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/QtSetup.cmake | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/cmake/QtSetup.cmake b/cmake/QtSetup.cmake index bcb629dcbf..84d3e41e15 100644 --- a/cmake/QtSetup.cmake +++ b/cmake/QtSetup.cmake @@ -258,7 +258,12 @@ 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() ## Path used to find host tools, either when cross-compiling or just when using the tools from ## a different host build. |