summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-04-12 15:04:15 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2023-05-03 11:32:19 +0200
commite812ec499fb94f2e392e20c101f08b8332ddaa0c (patch)
treee97ae26daaac6c8f48c21ac61e7eebe886de6dbb
parentfc7bfd9861111c94f047190e4d8cd006a3647c0a (diff)
downloadqttools-e812ec499fb94f2e392e20c101f08b8332ddaa0c.tar.gz
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: I59c4f5306e08ecc15f9774e0283cb3fb0761484d Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8ef7bc58c..0af185486 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -22,6 +22,7 @@ find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Co
find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS
DBus Xml Widgets Quick QuickWidgets Qml
Sql PrintSupport OpenGL OpenGLWidgets ${optional_components})
+qt_internal_project_setup()
qt_build_repo()