diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-04-12 15:04:14 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-05-16 15:27:20 +0000 |
commit | 6599e9a999e3ebaf94d11d88f3343bedd567a329 (patch) | |
tree | cf1cbaec6de16cef305c06c2683ac09871d5b3fb | |
parent | f8e84f78ff451eb984767c03c361bb217ad54cb9 (diff) |
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: I245bd218eb9c18b51b0698e3cca13fd03903dcd6
Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
(cherry picked from commit 409b41e61fac413b2955d960e1ad011471cc45d3)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 66ba17dc..f5428101 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -14,6 +14,7 @@ project(QtDataVisualization find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals) 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}) |