summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 11:24:33 +0900
committerMichele Calgaro <[email protected]>2024-03-16 11:53:17 +0900
commitefab49fad74f60bb4054e6c05e566624553521c3 (patch)
tree281533d4f52c7bb8c283b8b398dd4c557d8ec5fa
parentd69c95c12974cee9edcca58f9d53ef1e4b4f7416 (diff)
downloadlibkexiv2-efab49fad74f60bb4054e6c05e566624553521c3.tar.gz
libkexiv2-efab49fad74f60bb4054e6c05e566624553521c3.zip
Use centralized cmake versionr14.1.2
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 5ffb68eae2f2ae39c9b7b8f1d4ffc483b8222e55)
-rw-r--r--CMakeLists.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index c40523d..12ff115 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
@@ -32,11 +36,6 @@ include( CheckCXXSourceCompiles )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths
include( TDESetupPaths )