From 36c362412b8829c61a1292c654a7d9e2a8c290e9 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 15 Oct 2019 14:07:17 +0200 Subject: Regenerate projects before merge Change-Id: I9a889214e310b95ca1418925d6413602f9e00cea Reviewed-by: Simon Hausmann --- CMakeLists.txt | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index 561fc11..961585c 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,12 +1,18 @@ +# Generated from qtimageformats.pro. + cmake_minimum_required(VERSION 3.15.0) -project(QtImageFormats +project(QtImageFormats # special case VERSION 6.0.0 - DESCRIPTION "Qt ImageFormats Libraries" + DESCRIPTION "Qt ImageFormats Libraries" # special case HOMEPAGE_URL "https://qt.io/" LANGUAGES CXX C ) -find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Gui) -qt_build_repo() +find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Gui) # special case +if(NOT TARGET Qt::Gui) + message(NOTICE "Skipping the build as the condition \"TARGET Qt::Gui\" is not met.") + return() +endif() +qt_build_repo() -- cgit v1.2.1