summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/tools')
-rw-r--r--tests/auto/tools/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/tools/CMakeLists.txt b/tests/auto/tools/CMakeLists.txt
index 8a827d11e4..29459a92a2 100644
--- a/tests/auto/tools/CMakeLists.txt
+++ b/tests/auto/tools/CMakeLists.txt
@@ -3,7 +3,9 @@
# QTBUG-88538 # special case
if(NOT ANDROID AND NOT IOS)
add_subdirectory(qmakelib)
- add_subdirectory(qmake)
+ if(QT_FEATURE_qmake)
+ add_subdirectory(qmake)
+ endif()
add_subdirectory(moc)
add_subdirectory(rcc)
endif()