summaryrefslogtreecommitdiffstats
path: root/tests/auto/corelib
diff options
context:
space:
mode:
authorJohannes Kauffmann <johanneskauffmann@hotmail.com>2022-10-30 17:00:07 +0100
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2022-11-09 22:24:18 +0000
commitaf89c6aabeeb31284853e43ea880f29f10729d91 (patch)
tree5c742e048f8838487b1408a48c05d2e282ff0219 /tests/auto/corelib
parentbcd7953aab16a9c3324dfc771b5afa569816e6e0 (diff)
tests: fix build with -no-feature-concurrent
Change-Id: I91602931bfb63e7d6659599a26e00e0bc4f854ab Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io> (cherry picked from commit c958e5daf18b069f5f1f40c71e3e45fe68d30d03) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
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 356ae0346c..d51d108d83 100644
--- a/tests/auto/corelib/thread/CMakeLists.txt
+++ b/tests/auto/corelib/thread/CMakeLists.txt
@@ -5,7 +5,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)