From 91406ea1a67cb7051d8aa20165e3ef72f6e611a2 Mon Sep 17 00:00:00 2001 From: Alexey Edelev Date: Wed, 12 Apr 2023 15:04:15 +0200 Subject: Add the use of the qt_internal_project_setup function The function sets the required CMake variables and policies. Pick-to: 6.5 Task-number: QTBUG-112685 Change-Id: I0f7b49bfd8a5b1c714c839c3cff2d7e2110f6d73 Reviewed-by: Joerg Bornemann --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a0ab22f..a594cea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,7 @@ set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE) 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 +qt_internal_project_setup() if(NOT TARGET Qt::Network) message(NOTICE "Skipping the build as the condition \"TARGET Qt::Network\" is not met.") -- cgit v1.2.1