summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-04-12 15:04:15 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-05-03 09:55:37 +0000
commitbb52fe4d5f6344b9c9e510b5a400d59b0cad28d6 (patch)
tree9fb4abb90b77a548db3fbd09b8c27165ab053135
parent6c6c1dbce8c455153a1f03bbb01a98d93f7d5408 (diff)
downloadqtsvg-bb52fe4d5f6344b9c9e510b5a400d59b0cad28d6.tar.gz
Add the use of the qt_internal_project_setup function
The function sets the required CMake variables and policies. Task-number: QTBUG-112685 Change-Id: Ie96433994aab01d4aea3942ca860f515027c762f Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit d5bd26fdd0f5cb49f83b32f79b37df291a2ea8c6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
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.