summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:19:17 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 23:51:54 +0900
commit0913e673ff3ef15c05b3cf60e261e34e84db9340 (patch)
tree6061f4c8966f96870403b062118c1b56908045e5
parent093fca951a79a4bf3bcac59857d1abd48d15594b (diff)
downloadtdeedu-0913e673ff3ef15c05b3cf60e261e34e84db9340.tar.gz
tdeedu-0913e673ff3ef15c05b3cf60e261e34e84db9340.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 4841ccbd7284fc4a659c7224ded269b7270b94c2)
-rw-r--r--CMakeL10n.txt7
-rw-r--r--CMakeLists.txt11
2 files changed, 11 insertions, 7 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index 32a1448a..092d955b 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 aab838ee..e51713e8 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -7,7 +7,11 @@
############################################
-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
@@ -32,11 +36,6 @@ include( TDEMacros )
enable_testing( )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths
include( TDESetupPaths )