summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:11:40 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-17 10:59:26 +0900
commit2a33c0ff42ab8c8f6607a2bba18cac56eea163a0 (patch)
tree95028490bf9c65ffe2a0e7d78855a0eb1231dab3
parent11a88ad3057f8c29e05cb56629100db0e616fea5 (diff)
downloadgtk-qt-engine-2a33c0ff42ab8c8f6607a2bba18cac56eea163a0.tar.gz
gtk-qt-engine-2a33c0ff42ab8c8f6607a2bba18cac56eea163a0.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 e229f65..3e2eade 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 8beaa90..652b58a 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,12 @@
# #
############################################
-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 #####################
@@ -31,11 +36,6 @@ include( CheckStructHasMember )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths #######################
include( TDESetupPaths )