summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 11:11:40 +0900
committerMichele Calgaro <[email protected]>2024-03-17 17:10:46 +0900
commite5e014035389b8a1c17dfd363e433c3d335e2190 (patch)
tree95028490bf9c65ffe2a0e7d78855a0eb1231dab3
parentbe6cedb48ce470e12a34df1181e33dfa26b38a79 (diff)
downloadgtk-qt-engine-e5e014035389b8a1c17dfd363e433c3d335e2190.tar.gz
gtk-qt-engine-e5e014035389b8a1c17dfd363e433c3d335e2190.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 2a33c0ff42ab8c8f6607a2bba18cac56eea163a0)
-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 )