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>
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user