summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexey Edelev <alexey.edelev@qt.io>2023-04-12 15:04:14 +0200
committerAlexey Edelev <alexey.edelev@qt.io>2023-05-10 18:50:33 +0200
commit5a050d3d5d64c0afc80e68be37a213e5891c2e3c (patch)
treec50fc7362a33d46367c430a30d510f9ce908c30c
parent14b1bdfd3a5574e7938e1dc98f9dc67404e6e011 (diff)
downloadqtlocation-5a050d3d5d64c0afc80e68be37a213e5891c2e3c.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: I7dd03ec53ae4eb21fce3f968c0bc773df71f35cc Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io>
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 87640f33..f979951b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,6 +12,7 @@ project(QtLocation
set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE)
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core)
+qt_internal_project_setup()
if(WASM)
message(NOTICE "Skipping the build as the condition \"NOT WASM\" is not met.")