From a45f7d2d99a04890e6895ff32250f2efcb45f252 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Mon, 20 Jun 2022 19:28:54 +0900 Subject: [PATCH] Use TDE cmake macro to set version Signed-off-by: Michele Calgaro (cherry picked from commit 36af5fc30f14bb897d3f5d4ee937447d5530588d) --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8c6079c..9ce0b52 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,6 @@ cmake_minimum_required( VERSION 3.1 ) #### general package setup project( libcaldav ) -set( VERSION R14.0.13 ) set( PACKAGE_VERSION 0.6.5 ) @@ -33,6 +32,11 @@ include( GNUInstallDirs OPTIONAL ) include( TDEMacros ) +##### set version number ######################## + +tde_set_project_version( ) + + ##### setup install paths if( CMAKE_INSTALL_LIBDIR )