diff options
author | Alexey Edelev <alexey.edelev@qt.io> | 2023-04-12 15:04:15 +0200 |
---|---|---|
committer | Qt Cherry-pick Bot <cherrypick_bot@qt-project.org> | 2023-05-30 15:38:52 +0000 |
commit | fe4325f77c82b98e5e7f157973c8ecac95f4b1f7 (patch) | |
tree | cf151b689ca903c285839d97ffcc2c8d2a69f45a | |
parent | b4fc46b3f736ecf802a9b9c9325dfa85ed595bfa (diff) |
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: I3d867aac85aed86482ce2da55ffe84bb74e52b62
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit abb58562b6f4a69bb008762c35b26d69162fc54d)
Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
-rw-r--r-- | CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index dceb02f..8fd7f2e 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -15,6 +15,7 @@ find_package(Qt6 ${PROJECT_VERSION} CONFIG REQUIRED COMPONENTS BuildInternals Co find_package(Qt6 ${PROJECT_VERSION} CONFIG OPTIONAL_COMPONENTS Gui Qml Quick OpenGL WebEngineCore WebEngineQuick ) +qt_internal_project_setup() # Make sure we use the fixed BASE argument of qt_add_resource. set(QT_USE_FIXED_QT_ADD_RESOURCE_BASE TRUE) |