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>
This commit is contained in:
Alexey Edelev 2022-02-07 18:13:04 +01:00
parent 3bee7db419
commit 1ff8877ea7

View File

@ -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()