summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 10:59:19 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-17 10:59:49 +0900
commitea94f155f4e8579fdae20502893c0c8995832512 (patch)
tree31834bccb97320b09b39a5bc644c761238b91583
parent856ea287db31eddeecea8e34b94fc7a41bd5339d (diff)
downloadk3b-i18n-ea94f155.tar.gz
k3b-i18n-ea94f155.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 108669d..d2d1721 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( )
##### general package setup #####################
@@ -27,11 +32,6 @@ include( FindPkgConfig ) # required for find_package( TDE )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### find required stuff #######################
find_package( TDE )