summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:03:49 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-17 11:18:37 +0900
commit48a28f804c1ff030e52e9902dba0fb03ab0061b2 (patch)
treefb19f01dc83f4224139d9223cca62b5ef3420e3b
parenta7d0c9e487de9ae8c41d16c6da218151e3412cf3 (diff)
downloadtellico-48a28f80.tar.gz
tellico-48a28f80.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--CMakeL10n.txt6
-rw-r--r--CMakeLists.txt12
2 files changed, 11 insertions, 7 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index 4466abe..3d50360 100644
--- a/CMakeL10n.txt
+++ b/CMakeL10n.txt
@@ -9,7 +9,11 @@
#
#################################################
-cmake_minimum_required( VERSION 3.5 )
+
+##### set project version ########################
+
+include( TDEVersion )
+cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
##### include our cmake modules #################
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4604095..79257be 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 #####################
@@ -37,11 +42,6 @@ enable_testing()
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths #######################
include( TDESetupPaths )