diff options
author | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-04-15 12:45:41 +0200 |
---|---|---|
committer | Alexandru Croitor <alexandru.croitor@qt.io> | 2021-04-16 20:43:31 +0200 |
commit | 214f78598f3dfb20f525987e96e747d2442a6219 (patch) | |
tree | a856c67224e0bc01f749e843d52b0d2480ef64d2 | |
parent | 20ddde5215951e1d4d5844f8ff127ff5cb381c75 (diff) |
CMake: Use qtbase's version as the top-level project version
This avoids the need to bump the qt5.git project version when
branching the next minor Qt version.
Task-number: QTBUG-92861
Change-Id: Ib20ab614caefece00bd9e0172d9269077239ba6a
Reviewed-by: Alexey Edelev <alexey.edelev@qt.io>
Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io>
(cherry picked from commit 002b6f075c09cfb5507007a9bfe620195a859f08)
-rw-r--r-- | CMakeLists.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index 45018c58..5fe9a6ca 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,7 @@ cmake_minimum_required(VERSION ${__qt_minimum_cmake_version}) include("${__qt6_qtbase_src_path}/cmake/QtAutoDetect.cmake") project(Qt - VERSION 6.0.1 + VERSION "${QT_REPO_MODULE_VERSION}" DESCRIPTION "Qt Libraries" HOMEPAGE_URL "https://qt.io/" LANGUAGES CXX C ASM |