summaryrefslogtreecommitdiffstats
path: root/tests/auto/tools
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2022-02-07 18:13:04 +0100
committerAlexey Edelev <alexey.edelev@qt.io>2022-02-09 15:33:46 +0100
commit1ff8877ea728bce3489168a1439b4e8bee781d39 (patch)
treed8ea25f12cbb19af2de67545f290adfed29c6572 /tests/auto/tools
parent3bee7db4198712c763dbd754bad7b2c851147038 (diff)
Exclude tst_qmake if the build of qmake tool is disabled
Pick-to: 6.2 6.3 Change-Id: I5aadf5250c19d8a8b26c4a890350ff3bf79e31c7 Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
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()