diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-04-12 15:04:15 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-05-03 11:32:28 +0200 |
commit | d5bd26fdd0f5cb49f83b32f79b37df291a2ea8c6 (patch) | |
tree | 77314c08be6450eba26008bb907140b2a9620ebc | |
parent | d0b29bf223de981b93a2b307058e83ceb465572e (diff) | |
download | qtsvg-d5bd26fdd0f5cb49f83b32f79b37df291a2ea8c6.tar.gz |
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 <joerg.bornemann@qt.io>
-rw-r--r-- | CMakeLists.txt | 1 |
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. |