From 1b6b645f7a5e7cd3ed68e1731ba6d74e14da3aa3 Mon Sep 17 00:00:00 2001 From: Martchus Date: Mon, 8 Apr 2024 12:39:05 +0200 Subject: [PATCH] Apply cmake-format --- CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index f9d0fdc..98de497 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -153,8 +153,7 @@ elseif (QT_PACKAGE_PREFIX MATCHES ".*Qt([0-9]+).*") endif () # require Qt 6 for the Qt Quick GUI -if (QUICK_GUI - AND (MAJOR_QT_VERSION VERSION_LESS 6 OR MAJOR_QT_VERSION VERSION_GREATER_EQUAL 7)) +if (QUICK_GUI AND (MAJOR_QT_VERSION VERSION_LESS 6 OR MAJOR_QT_VERSION VERSION_GREATER_EQUAL 7)) message(FATAL_ERROR "The Qt Quick GUI is only compatible with Qt 6 (but Qt ${MAJOR_QT_VERSION} was found).") endif ()