summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 10:54:10 +0900
committerMichele Calgaro <[email protected]>2024-03-17 15:43:53 +0900
commit5d8fa9a9dc79f54f07af47b0ec305c43440c84da (patch)
tree6b9e95546641482f8df1c58e7b47125ebe699637 /CMakeLists.txt
parentae6e21556cfd7f6a5a4d289fdb0be6dd2209efd7 (diff)
downloadgwenview-i18n-5d8fa9a9dc79f54f07af47b0ec305c43440c84da.tar.gz
gwenview-i18n-5d8fa9a9dc79f54f07af47b0ec305c43440c84da.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 7dc70c62edacb3e16bb3fa1c4deefbe73c34c3c0)
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 dbcd437..bf9b610 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 )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths #######################
include( TDESetupPaths )