From d5bd26fdd0f5cb49f83b32f79b37df291a2ea8c6 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: Ie96433994aab01d4aea3942ca860f515027c762f Reviewed-by: Joerg Bornemann --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index a91223b..91b0086 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,6 +13,7 @@ project(QtSvg find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Widgets Xml) +qt_internal_project_setup() # Needed for examples to configure properly when not using ExternalProject and when # Qt is configured with a bundled zlib. -- cgit v1.2.1