mirror of https://github.com/qt/qtdatavis3d.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: I160079f5304a38061ac6f32d5e6a003edc176dbb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
5a7f0c6152
commit
8caa2cb4ad
|
@ -12,9 +12,13 @@ project(QtDataVisualization
|
|||
)
|
||||
|
||||
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 OpenGL Quick Qml Gui Widgets QuickTest Test)
|
||||
qt_internal_project_setup()
|
||||
|
||||
macro(assertTargets)
|
||||
foreach(qtTarget IN ITEMS ${ARGN})
|
||||
|
|
Loading…
Reference in New Issue