From 04669ff543c729c102cbfdd91a22aca5aca76419 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Fri, 15 Mar 2024 11:17:10 +0900 Subject: Use centralized cmake version Signed-off-by: Michele Calgaro (cherry picked from commit a4bf9eacf3c280abcd0abce4efc2092787d94392) --- CMakeLists.txt | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a1a1175..0be6671 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,10 @@ -cmake_minimum_required( VERSION 3.5 ) + +##### set project version ######################## + +include( TDEVersion ) +cmake_minimum_required( VERSION ${TDE_CMAKE_MINIMUM_VERSION} ) +tde_set_project_version( ) + if( POLICY CMP0037 ) cmake_policy(SET CMP0037 NEW) endif( POLICY CMP0037 ) -- cgit v1.2.1