From 44920e7fb272f49423c925555e8ae3bc38ffd8a4 Mon Sep 17 00:00:00 2001 From: Alex Richardson Date: Thu, 3 Sep 2020 15:01:05 +0100 Subject: CMake: Fix building with -DQT_FEATURE_gui=OFF MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Some CMake files currently assume that QtGui is always enabled and we get a configure-time failure without these changes. Task-number: QTBUG-86053 Change-Id: I28e32c180c32221f32519017bac6b518a19d5983 Reviewed-by: Tor Arne Vestbø Reviewed-by: Qt CI Bot --- tests/auto/.prev_CMakeLists.txt | 4 ---- 1 file changed, 4 deletions(-) (limited to 'tests/auto/.prev_CMakeLists.txt') diff --git a/tests/auto/.prev_CMakeLists.txt b/tests/auto/.prev_CMakeLists.txt index 21b6c2aff2..8a5e002e84 100644 --- a/tests/auto/.prev_CMakeLists.txt +++ b/tests/auto/.prev_CMakeLists.txt @@ -11,10 +11,6 @@ endif() if(QT_FEATURE_process AND NOT CMAKE_CROSSCOMPILING) add_subdirectory(tools) endif() -if(NOT CMAKE_CROSSCOMPILING) - add_subdirectory(cmake) - add_subdirectory(installed_cmake) -endif() if(TARGET Qt::Concurrent) add_subdirectory(concurrent) endif() -- cgit v1.2.3