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 15:55:07 +0900
commite8f457ac8cdb7bf07a350fab92eabc5c7dad655c (patch)
treebf2426de2c6be68481f1a706f83272134404bded
parentccc90afb8999280588e00964c83149faa0697c10 (diff)
downloadtellico-e8f457ac8cdb7bf07a350fab92eabc5c7dad655c.tar.gz
tellico-e8f457ac8cdb7bf07a350fab92eabc5c7dad655c.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 48a28f804c1ff030e52e9902dba0fb03ab0061b2)
-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 )