summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 11:00:00 +0900
committerMichele Calgaro <[email protected]>2024-03-17 15:31:04 +0900
commitf2a131c5dde67a94abc158c9a6297aedb73e4d7b (patch)
tree8aa03794058dba39fbfd5c8475975c96cf08e1f2
parent6ffc55cadd61b908c803bfd8ffa431c2933348a8 (diff)
downloadkmplayer-f2a131c5dde67a94abc158c9a6297aedb73e4d7b.tar.gz
kmplayer-f2a131c5dde67a94abc158c9a6297aedb73e4d7b.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit b6dba7c2380157cb1ec589cf6ddba9176d41ac1a)
-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 e75909a..f8dbb12 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 c248c49..fd8565c 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
@@ -32,11 +36,6 @@ include( CheckCXXSourceCompiles )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths
include( TDESetupPaths )