From 1ff8877ea728bce3489168a1439b4e8bee781d39 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Mon, 7 Feb 2022 18:13:04 +0100 Subject: Exclude tst_qmake if the build of qmake tool is disabled Pick-to: 6.2 6.3 Change-Id: I5aadf5250c19d8a8b26c4a890350ff3bf79e31c7 Reviewed-by: Alexandru Croitor --- tests/auto/tools/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests/auto/tools') 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() -- cgit v1.2.3