summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:20:42 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 23:49:06 +0900
commita21e50f9467ae551abdc7b8675e7a1432f92e7f8 (patch)
tree8e1797598046030cd6b59650f0b3937e40586d9b
parent487706ea5121c872147b648cf1d140262448fddf (diff)
downloadtdepim-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.txt7
-rw-r--r--CMakeLists.txt12
2 files changed, 12 insertions, 7 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index 5705705f..c78db9a0 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 7ae5238f..8be146eb 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 )