From b9bf608578e861880e05dee47d37d5d9e232e1ca Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 15 Mar 2024 11:21:54 +0900 Subject: [PATCH] Use centralized cmake version Signed-off-by: Michele Calgaro (cherry picked from commit c8f39cc17ea72644bd0abc878085c56c007e7eeb) --- CMakeLists.txt | 12 ++++++------ 1 file 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 )