mirror of https://github.com/qt/qtgraphs.git
Move `qt_internal_project_setup` as early as possible
The earliest we can move this is right after `BuildInternals`. This allows us to add function calls before navigating the `find_package` tree of the dependents. Task-number: QTBUG-135233 Change-Id: Iddf80afb89bf208e8a59f7eb13459d1c81606f6c Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
086e4b44af
commit
a549dfa3e3
|
|
@ -12,6 +12,11 @@ project(QtGraphs
|
||||||
)
|
)
|
||||||
|
|
||||||
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals)
|
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals)
|
||||||
|
|
||||||
|
# This should be called as early as possible, just after find_package(BuildInternals) where it is
|
||||||
|
# defined.
|
||||||
|
qt_internal_project_setup()
|
||||||
|
|
||||||
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Core Quick Gui Widgets QuickTest QuickWidgets Test Quick3D QuickShapesPrivate PrintSupport)
|
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Core Quick Gui Widgets QuickTest QuickWidgets Test Quick3D QuickShapesPrivate PrintSupport)
|
||||||
|
|
||||||
macro(assertTargets)
|
macro(assertTargets)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue