summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib
diff options
context:
space:
mode:
authorJohannes Kauffmann <johanneskauffmann@hotmail.com>2022-10-30 17:00:07 +0100
committerJohannes Kauffmann <johanneskauffmann@hotmail.com>2022-11-09 20:33:49 +0100
commitc958e5daf18b069f5f1f40c71e3e45fe68d30d03 (patch)
treebb6fe7d9576da8ec37a045986ffceab54ee13446 /tests/auto/corelib
parent514ae9764008dafddd3022ef73f63ba8b2d7f430 (diff)
tests: fix build with -no-feature-concurrent
Pick-to: 6.2 6.4 Change-Id: I91602931bfb63e7d6659599a26e00e0bc4f854ab Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'tests/auto/corelib')
-rw-r--r--tests/auto/corelib/thread/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/corelib/thread/CMakeLists.txt b/tests/auto/corelib/thread/CMakeLists.txt
index b573ec89bf..055ffdb3c1 100644
--- a/tests/auto/corelib/thread/CMakeLists.txt
+++ b/tests/auto/corelib/thread/CMakeLists.txt
@@ -8,7 +8,7 @@ if(QT_FEATURE_thread)
add_subdirectory(qatomicinteger)
add_subdirectory(qatomicpointer)
add_subdirectory(qresultstore)
- if(NOT INTEGRITY)
+ if(QT_FEATURE_concurrent AND NOT INTEGRITY)
add_subdirectory(qfuture)
endif()
add_subdirectory(qfuturesynchronizer)