summaryrefslogtreecommitdiff
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:54:17 +0000
commit0573bda1575f97c205a1fcee9a7fff32dfcb57c8 (patch)
tree6a3a1c85f1a74a327a8d4b7e0de712e0874ce28d
parentfc36a0feeb4a8ad32b79c8d603b4a1b310e84659 (diff)
downloadqtserialport-0573bda1575f97c205a1fcee9a7fff32dfcb57c8.tar.gz
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: I77fc07096e38688f47f050b712c7a14cdc902edc Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 3523e7290504d301128763a754639b4514c349b3) 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 45190e3..777a042 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,6 +15,7 @@ set(QT_NO_INTERNAL_COMPATIBILITY_FUNCTIONS TRUE)
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Gui Widgets)
+qt_internal_project_setup()
if(INTEGRITY)
message(NOTICE "Skipping the build as the condition \"NOT INTEGRITY\" is not met.")