diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-04-12 15:04:15 +0200 |
---|---|---|
committer | Alexey Edelev <alexey.edelev@qt.io> | 2023-05-03 11:31:40 +0200 |
commit | 91406ea1a67cb7051d8aa20165e3ef72f6e611a2 (patch) | |
tree | a371dd52a9e6e1063d9f6cc77d71720aa9f70da3 | |
parent | e7cd37ad3283e80c7bb48e27ba5181e6add031ba (diff) | |
download | qtwebsockets-91406ea1a67cb7051d8aa20165e3ef72f6e611a2.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: I0f7b49bfd8a5b1c714c839c3cff2d7e2110f6d73
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index a0ab22f..a594cea 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,6 +18,7 @@ set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE) find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core Network) # special case find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Quick QuickTest) # special case +qt_internal_project_setup() if(NOT TARGET Qt::Network) message(NOTICE "Skipping the build as the condition \"TARGET Qt::Network\" is not met.") |