From 7c8d45cb2635ab44d85d85288fd74ef72909264c Mon Sep 17 00:00:00 2001 From: Tasuku Suzuki Date: Thu, 15 Apr 2021 09:46:40 +0900 Subject: Fix build without features.settings Change-Id: Id13980fd5124afe1ee2d378590eb7a4e11b7a4fb Reviewed-by: Volker Hilsheimer --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 6d7a8ec9b7..0ea57bdf29 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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 -- cgit v1.2.3