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 09:57:14 +0000
commit9eb142d655a3e3d7b0f637db4b7850ef5c03c6a6 (patch)
treec7e46773d8c29094ad76c9666538f29166440cde
parent1e8f9fc72238c0a8aed5dd64238c6a285169eb72 (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: If25ecb7c73ff665d1bad176eb9b9b371c68f1612 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 07837027831694eaf5ed43348bdce0a9b2044cc1) 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 83fe458..132bec2 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,5 +41,6 @@ endif()
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Network)
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Gui Widgets SerialPort)
+qt_internal_project_setup()
qt_build_repo()