summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 11:23:18 +0900
committerMichele Calgaro <[email protected]>2024-03-15 12:01:57 +0900
commit8e0ae7e04dd8ac827556c475be344aeba045ea87 (patch)
treeab1ab31c5a89243be2404731798ec25cf5e33273
parentc0432f0207fa893a82fffe0c2583104c6d275ccd (diff)
downloadlibr-8e0ae7e04dd8ac827556c475be344aeba045ea87.tar.gz
libr-8e0ae7e04dd8ac827556c475be344aeba045ea87.zip
Use centralized cmake versionHEADmaster
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 7e48150..0e6692f 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 )