Fix build without features.settings

Change-Id: Id13980fd5124afe1ee2d378590eb7a4e11b7a4fb
Reviewed-by: Volker Hilsheimer <volker.hilsheimer@qt.io>
This commit is contained in:
Tasuku Suzuki 2021-04-15 09:46:40 +09:00
parent e7bdf7273c
commit 7c8d45cb26

View File

@ -126,7 +126,7 @@ if(QT_BUILD_TESTS)
endif()
if(NOT QT_BUILD_STANDALONE_TESTS)
if(QT_WILL_BUILD_TOOLS)
if(QT_WILL_BUILD_TOOLS AND QT_FEATURE_settings)
add_subdirectory(qmake)
endif()
# As long as we use the mkspecs (for qplatformdefs.h), we need to always