summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-04-12 15:04:14 +0200
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2023-05-03 10:08:08 +0000
commitb145fe540aaef25f1966c21dec75ccba19129d25 (patch)
tree430e2dc98a5f14ee1e8a94471cc77ef644df1a62
parent730eed46106eb7aee2216311d437da0e2470c124 (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: I4c68c4c919e14cc797a682e6348aab2630e645e7 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 837cb6f400ee087c418df9c7e2c9f63a2046b5d6) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index aadb7cc..9d16886 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -13,6 +13,7 @@ project(QtScxml
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Gui Qml Widgets OpenGL OpenGLWidgets Network QuickTest)
+qt_internal_project_setup()
qt_internal_define_repo_target_set(qtscxml)
qt_internal_define_repo_target_set(qtscxmlqml DEPENDS Scxml)