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-11 07:19:52 +0000
commit779d4b46f6c8bfd3027431b2447d7f08198082c6 (patch)
tree2f7624b023968b24855f4d4312e7fb6c09a45fde
parent8b848118ad4ac05fcf8c2dd1411d80a60ace233e (diff)
downloadqtlocation-779d4b46f6c8bfd3027431b2447d7f08198082c6.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: I7dd03ec53ae4eb21fce3f968c0bc773df71f35cc Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> (cherry picked from commit 5a050d3d5d64c0afc80e68be37a213e5891c2e3c) 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 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.")