summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:14:21 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-17 17:11:39 +0900
commit0034426b448fc045debf32806e0d9ec9625bd718 (patch)
tree4f3e196a86c8f30fdd6a34b132a6683273ce5ce5
parentaa677ad448d5ba8a7e5c5927919d8fd0213e98b5 (diff)
downloadfilelight-r14.1.x.tar.gz
filelight-r14.1.x.zip
Use centralized cmake versionr14.1.2r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3731df3e936ef27d98ec3cf95180357aba9a6916)
-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 4c7aa03..6951c81 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 c7c7b5f..74e5527 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 #####################
@@ -36,11 +41,6 @@ include( CheckSymbolExists )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths #######################
include( TDESetupPaths )