summaryrefslogtreecommitdiff
path: root/cmake/QtTestHelpers.cmake
diff options
context:
space:
mode:
authorMikolaj Boc <mikolaj.boc@qt.io>2022-09-01 11:36:49 +0200
committerMikolaj Boc <mikolaj.boc@qt.io>2022-09-01 19:44:20 +0200
commit67deefbaaa507fa4928cc683b561aa31f39b512e (patch)
treead2bbf1ed65f4db8a664d40bc936ac93218f0d21 /cmake/QtTestHelpers.cmake
parent6dd6bf3467040b3efceafa317de6e833ee5ec15e (diff)
downloadqtbase-67deefbaaa507fa4928cc683b561aa31f39b512e.tar.gz
Build in test data on WASM
Local file system files are difficult to reach on WASM. Build the test data in so that it's reachable to WASM tests nevertheless. Change-Id: I65022db7645248d040434759fb60c3076fd65bd8 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'cmake/QtTestHelpers.cmake')
-rw-r--r--cmake/QtTestHelpers.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmake/QtTestHelpers.cmake b/cmake/QtTestHelpers.cmake
index 80135b19f9..6cfacc8519 100644
--- a/cmake/QtTestHelpers.cmake
+++ b/cmake/QtTestHelpers.cmake
@@ -611,7 +611,7 @@ function(qt_internal_add_test name)
endif()
endif()
- if(ANDROID OR IOS OR INTEGRITY OR arg_BUILTIN_TESTDATA)
+ if(ANDROID OR IOS OR WASM OR INTEGRITY OR arg_BUILTIN_TESTDATA)
set(builtin_testdata TRUE)
endif()