summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:01:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-17 11:15:50 +0900
commitad50094834a87fcd94216dce0951c8f74121a751 (patch)
tree5d840701af39e64af58a9bb420fed6785aa391b3
parent451107dae933d60422c1e4e78d09e7455598f624 (diff)
downloadsoundkonverter-ad50094834a87fcd94216dce0951c8f74121a751.tar.gz
soundkonverter-ad50094834a87fcd94216dce0951c8f74121a751.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--CMakeL10n.txt6
-rw-r--r--CMakeLists.txt17
2 files changed, 13 insertions, 10 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index ec40e4d..a9c7e38 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 5f5e666..15c0f3b 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -10,15 +10,19 @@
############################################
-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
+##### general package setup
project( soundkonverter )
-#### include essential cmake modules
+##### include essential cmake modules
include( FindPkgConfig )
include( CheckSymbolExists )
@@ -29,16 +33,11 @@ include( CheckCXXSourceCompiles )
include( CheckTypeSize )
-#### include our cmake modules
+##### include our cmake modules
include( TDEMacros )
-##### set version number
-
-tde_set_project_version( )
-
-
##### setup install paths
include( TDESetupPaths )