summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2024-03-15 11:22:06 +0900
committerMichele Calgaro <[email protected]>2024-03-15 11:52:58 +0900
commit5ce55f27342fe03376d5b9cdd723bf8af1f79e17 (patch)
tree193ec5e7d5423acae6a7b1a064b4e1989605663f
parentbe1c8167bd2711853a259f7aaeb9b28d8b38fa37 (diff)
downloadarts-5ce55f27342fe03376d5b9cdd723bf8af1f79e17.tar.gz
arts-5ce55f27342fe03376d5b9cdd723bf8af1f79e17.zip
Use centralized cmake version
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 f4e3aaf..3197104 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( )
##### project settings ##########################
@@ -38,11 +43,6 @@ include( FindPkgConfig )
include( TDEMacros )
-##### set version number ########################
-
-tde_set_project_version( )
-
-
##### setup install paths #######################
include( TDESetupPaths )