summaryrefslogtreecommitdiffstats
path: root/tests/auto/testlib/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/testlib/CMakeLists.txt')
-rw-r--r--tests/auto/testlib/CMakeLists.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/testlib/CMakeLists.txt b/tests/auto/testlib/CMakeLists.txt
index ad895108e7..1d089359c0 100644
--- a/tests/auto/testlib/CMakeLists.txt
+++ b/tests/auto/testlib/CMakeLists.txt
@@ -4,7 +4,7 @@
# add_subdirectory(outformat) # special case missing project
add_subdirectory(qsignalspy)
# QTBUG-88507 # special case
-if(NOT ANDROID)
+if(QT_FEATURE_process AND NOT ANDROID)
add_subdirectory(selftests)
endif()
if(TARGET Qt::Widgets)