summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:01:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-17 15:53:07 +0900
commitc7c3b8bc558dfadee7510f67c7d392ac7e10333e (patch)
tree22cd83ed5faa5f68adef90a6bf8a619b9f18cba4 /CMakeLists.txt
parente54309368d31c51fb25b55f4e641a1a1e838e6ba (diff)
downloadtderadio-c7c3b8bc.tar.gz
tderadio-c7c3b8bc.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 5cfe0c6c357cc1b497fda197d015500c00fafd7f)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index b38b6df..f38a6f8 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
@@ -30,11 +34,6 @@ include( CheckCXXSourceCompiles )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths
include( TDESetupPaths )