summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:23:18 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 20:48:40 +0900
commit9e8c893bcabdf1e7427ddc7ad7bcda2d98e58f1a (patch)
tree7ab97d1889326e974b4bfd4605f6f64e3892cd47
parent2cf31691e53ecc452ae678365a4b79c45b3cdeef (diff)
downloadlibr-r14.1.x.tar.gz
libr-r14.1.x.zip
Use centralized cmake versionr14.1.3r14.1.2r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 8e0ae7e04dd8ac827556c475be344aeba045ea87)
-rw-r--r--CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 8c5246c..329e7b8 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 #####################
@@ -33,11 +38,6 @@ include( CheckSymbolExists )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths #######################
include( TDESetupPaths )