summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:20:14 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 12:05:19 +0900
commit22ba8866a9753d13204f500475d21f8051c17bac (patch)
treea52b757379979f8f2b7aab409d0fe5096384ccff
parent2e8ad8b923787494b588ed8f978aac61a59803ef (diff)
downloadtdemultimedia-22ba8866a9753d13204f500475d21f8051c17bac.tar.gz
tdemultimedia-22ba8866a9753d13204f500475d21f8051c17bac.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-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 8ea5d4df..4447c926 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 7dc37467..2a4ae664 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 #####################
@@ -39,11 +44,6 @@ include( CheckSymbolExists )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths #######################
include( TDESetupPaths )