From 432b75517cba65e8ab633a2fe0d53f18abd59426 Mon Sep 17 00:00:00 2001 From: Alexandru Croitor Date: Tue, 15 Oct 2019 16:32:06 +0200 Subject: Regenerate before merge Change-Id: I9f22f5d050aeec3e8c308e286a897f0f524ed8e3 Reviewed-by: Simon Hausmann --- CMakeLists.txt | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index d1cfcae..59289c3 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,12 +1,20 @@ +# Generated from qtwebsockets.pro. + cmake_minimum_required(VERSION 3.15.0) -project(QtWebSockets +project(QtWebSockets # special case VERSION 6.0.0 - DESCRIPTION "Qt WebSockets Libraries" + DESCRIPTION "Qt WebSockets Libraries" # special case HOMEPAGE_URL "https://qt.io/" LANGUAGES CXX C ) -find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Network) -find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Quick QuickTest) +find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Network) # special case +find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Quick QuickTest) # special case + +if(NOT TARGET Qt::Network) + message(NOTICE "Skipping the build as the condition \"TARGET Qt::Network\" is not met.") + return() +endif() qt_build_repo() + -- cgit v1.2.1