diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 11:20:42 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2024-03-15 23:49:06 +0900 |
commit | a21e50f9467ae551abdc7b8675e7a1432f92e7f8 (patch) | |
tree | 8e1797598046030cd6b59650f0b3937e40586d9b | |
parent | 487706ea5121c872147b648cf1d140262448fddf (diff) | |
download | tdepim-a21e50f9467ae551abdc7b8675e7a1432f92e7f8.tar.gz tdepim-a21e50f9467ae551abdc7b8675e7a1432f92e7f8.zip |
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 2d7b94b22a3e6915c3861ee49945a4f59cb56757)
-rw-r--r-- | CMakeL10n.txt | 7 | ||||
-rw-r--r-- | CMakeLists.txt | 12 |
2 files changed, 12 insertions, 7 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt index 5705705f6..c78db9a00 100644 --- a/CMakeL10n.txt +++ b/CMakeL10n.txt @@ -9,7 +9,12 @@ # ################################################# -cmake_minimum_required( VERSION 3.5 ) + +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) +tde_set_project_version( ) ##### include our cmake modules ################# diff --git a/CMakeLists.txt b/CMakeLists.txt index 7ae5238f8..8be146eba 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -9,7 +9,12 @@ # ################################################# -cmake_minimum_required( VERSION 3.5 ) + +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) +tde_set_project_version( ) ##### general package setup ##################### @@ -35,11 +40,6 @@ enable_testing( ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### setup install paths ####################### include( TDESetupPaths ) |