summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:12:36 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-17 17:22:18 +0900
commita3dc1f26f3b2bc6171df7fa4db238208049da9d9 (patch)
treee32b2d58b151b6902b0b20ff2d551652c4bd7885
parent10fe0f767ce93103af80b4cc4ae6efb6a589fe13 (diff)
downloadtde-style-domino-a3dc1f26f3b2bc6171df7fa4db238208049da9d9.tar.gz
tde-style-domino-a3dc1f26f3b2bc6171df7fa4db238208049da9d9.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 95078bd0d861fc1e3bb47f07fc99dddbe2f4e031)
-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 53783ea..8713e45 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 2513615..93b855e 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
@@ -31,11 +35,6 @@ include( CheckCXXSourceCompiles )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths
include( TDESetupPaths )