diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-04-12 15:04:14 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-05-03 11:33:41 +0200 |
commit | 3523e7290504d301128763a754639b4514c349b3 (patch) | |
tree | 1114acdcc764e996cf2de810f1016e2d14efce26 /CMakeLists.txt | |
parent | 5cd93c752fab61a165508142f3a364887ae79390 (diff) | |
download | qtserialport-3523e7290504d301128763a754639b4514c349b3.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: I77fc07096e38688f47f050b712c7a14cdc902edc
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r-- | CMakeLists.txt | 1 |
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.") |