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:31:53 +0200
commitc71453bcdab1e762ba699854db733c6f9ef00a62 (patch)
tree6230e7c225d8637256beaacbb4a86b4c66362822
parenta595c501c462047459d92e102b2427513ac9dd57 (diff)
downloadqtwebchannel-c71453bcdab1e762ba699854db733c6f9ef00a62.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: I9e903e87fa2adf0eb884df5c6e2e369c9d373d35 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 9600487..ea889d7 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) # special case
find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Concurrent Quick Test QuickTest WebSockets) # special case
+qt_internal_project_setup()
if(INTEGRITY)
message(NOTICE "Skipping the build as the condition \"NOT INTEGRITY\" is not met.")