summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2024-03-15 11:01:47 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2024-03-17 15:53:28 +0900
commit514031eb922eae90e3ed52947d8ffdb7130f07d4 (patch)
tree363ac70eed6534a6f973d72f41ace706c1202a38 /CMakeLists.txt
parent8a69776a27bbf85e75ae3a2ea042b8406d0f698f (diff)
downloadbasket-514031eb.tar.gz
basket-514031eb.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 945f3255494cae5d3f6cae4482df9b5d7d3b98a4)
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt11
1 files changed, 5 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 212a6b2..f48c7c8 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 )