summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
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 /CMakeLists.txt
parent451107dae933d60422c1e4e78d09e7455598f624 (diff)
downloadsoundkonverter-ad50094834a87fcd94216dce0951c8f74121a751.tar.gz
soundkonverter-ad50094834a87fcd94216dce0951c8f74121a751.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt17
1 files changed, 8 insertions, 9 deletions
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 )