summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:21:54 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:50:02 +0900
commitc8f39cc17ea72644bd0abc878085c56c007e7eeb (patch)
tree9865bada1ea31b84d3699ebd4bc53156a1862e66
parentf89bf02c54e9653b05ab7ea8431b91469afb1019 (diff)
downloadakode-master.tar.gz
akode-master.zip
Use centralized cmake versionHEADmaster
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
-rw-r--r--CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index da859a8..c032cf2 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
@@ -35,11 +40,6 @@ include( CheckStructHasMember )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths
include( TDESetupPaths )