summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 11:01:36 +0900
committerMichele Calgaro <[email protected]>2024-03-17 11:17:28 +0900
commit5cfe0c6c357cc1b497fda197d015500c00fafd7f (patch)
treefe1851aae677ca3acf281dff3af77b20c604131a
parent4c5037734561f0b8c16819f11aae08e8f6974285 (diff)
downloadtderadio-5cfe0c6c357cc1b497fda197d015500c00fafd7f.tar.gz
tderadio-5cfe0c6c357cc1b497fda197d015500c00fafd7f.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--CMakeL10n.txt6
-rw-r--r--CMakeLists.txt11
2 files changed, 10 insertions, 7 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index 7f8a96a..49d03e9 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 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 )