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:40:40 +0000
commit74aeb0a6bdec679e95ce9266adc1bc3ba1e0447b (patch)
tree76110eaf8ef69829ad0aa0c096596bf3d89d5e4a
parent182c61e6300206cac0166d60e88283e8226d28e3 (diff)
downloadqtdoc-74aeb0a6bdec679e95ce9266adc1bc3ba1e0447b.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: I39697af7bf1595c821d1393e1d1120e0e2a467be Reviewed-by: Amir Masoud Abdol <amir.abdol@qt.io> (cherry picked from commit 643ed4946455559d4df60760ccca337c59572593) 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 612c7254..88354a97 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -15,6 +15,7 @@ project(QtDoc # special case
find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Core) # special case
find_package(Qt6 ${PROJECT_VERSION} QUIET CONFIG OPTIONAL_COMPONENTS Gui Qml Quick Test Sql Network QuickControls2 QmlXmlListModel) # special case for tests
+qt_internal_project_setup()
# special case begin
qt_build_repo_begin()