summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:13:09 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-17 11:18:07 +0900
commit722c1fb54e6a2758cc0aab798b31de73e61a6d40 (patch)
treedc49dbfb972bf8417f38162c4fb0f103eb380a42
parent61f899bc4e80ae6aeed18a90fc04cecebfa700ad (diff)
downloadtde-style-qtcurve-722c1fb54e6a2758cc0aab798b31de73e61a6d40.tar.gz
tde-style-qtcurve-722c1fb54e6a2758cc0aab798b31de73e61a6d40.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--CMakeL10n.txt6
-rw-r--r--CMakeLists.txt12
2 files changed, 11 insertions, 7 deletions
diff --git a/CMakeL10n.txt b/CMakeL10n.txt
index 376bad1..5f7eef1 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 30973a4..c45a5bf 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,7 +9,12 @@
#
#################################################
-cmake_minimum_required( VERSION 3.5 )
+
+##### set project version ########################
+
+include( TDEVersion )
+cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} )
+tde_set_project_version( )
##### cpack configuration #######################
@@ -51,11 +56,6 @@ include( FindPkgConfig )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths #######################
include( TDESetupPaths )