summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 11:20:42 +0900
committerMichele Calgaro <[email protected]>2024-03-15 12:05:42 +0900
commit2d7b94b22a3e6915c3861ee49945a4f59cb56757 (patch)
tree1604ec24deb863ec95321fe4439915f7753f74b5
parent296421fe123cb218edd8461cfb9920bad0f6afda (diff)
downloadtdepim-2d7b94b22a3e6915c3861ee49945a4f59cb56757.tar.gz
tdepim-2d7b94b22a3e6915c3861ee49945a4f59cb56757.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
-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 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 c50aff6a8..ca0b56525 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 )