From c958e5daf18b069f5f1f40c71e3e45fe68d30d03 Mon Sep 17 00:00:00 2001 From: Johannes Kauffmann Date: Sun, 30 Oct 2022 17:00:07 +0100 Subject: [PATCH] tests: fix build with -no-feature-concurrent Pick-to: 6.2 6.4 Change-Id: I91602931bfb63e7d6659599a26e00e0bc4f854ab Reviewed-by: Alexandru Croitor --- tests/auto/corelib/thread/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/auto/corelib/thread/CMakeLists.txt b/tests/auto/corelib/thread/CMakeLists.txt index b573ec89bfc..055ffdb3c12 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)