summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 11:03:49 +0900
committerMichele Calgaro <[email protected]>2024-03-17 11:18:37 +0900
commit48a28f804c1ff030e52e9902dba0fb03ab0061b2 (patch)
treefb19f01dc83f4224139d9223cca62b5ef3420e3b /CMakeLists.txt
parenta7d0c9e487de9ae8c41d16c6da218151e3412cf3 (diff)
downloadtellico-48a28f804c1ff030e52e9902dba0fb03ab0061b2.tar.gz
tellico-48a28f804c1ff030e52e9902dba0fb03ab0061b2.zip
Use centralized cmake version
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt12
1 files changed, 6 insertions, 6 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 4604095..79257be 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 #####################
@@ -37,11 +42,6 @@ enable_testing()
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths #######################
include( TDESetupPaths )