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 15:51:34 +0900
commitbc3804fa03e56155d36ce1f8588d901f27f28e1c (patch)
tree9cdd137fd2d27d6038b24821b357faeb380366b6
parentdc58a60f98f9879640554d42c12bcf749552e8e0 (diff)
downloadk3b-i18n-bc3804fa03e56155d36ce1f8588d901f27f28e1c.tar.gz
k3b-i18n-bc3804fa03e56155d36ce1f8588d901f27f28e1c.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit ea94f155f4e8579fdae20502893c0c8995832512)
-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 )