From a9abac08165581959590a43a2853162ca44d7d91 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 15 Mar 2024 11:17:30 +0900 Subject: Use centralized cmake version Signed-off-by: Michele Calgaro --- CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'CMakeLists.txt') diff --git a/CMakeLists.txt b/CMakeLists.txt index fa1efdeac11..e0f052fb4f2 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 ##################### @@ -27,11 +32,6 @@ include( FindPkgConfig ) # required for find_package( TDE ) include( TDEMacros ) -##### set version number ######################## - -tde_set_project_version( ) - - ##### find required stuff ####################### find_package( TDE ) -- cgit v1.2.1