summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:03:26 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-17 21:17:58 +0900
commit8c63579416cec3a0a8b025bd01356838925962f1 (patch)
tree0bbafd6644facc290f2423544aa96d3fead2d1c6 /CMakeLists.txt
parent7913867573a2711f712e67a83b65bc597ea09fc1 (diff)
downloadkoffice-i18n-8c635794.tar.gz
koffice-i18n-8c635794.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit f8cba5a90205fd3dedaf74f816f746c2b6f20d5e)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 54b61978..58abee4b 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 )