From 57e74b846ab20e5ee27a288866e402df20c6b1f6 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 21 Jun 2022 12:10:50 +0900 Subject: [PATCH] Use TDE cmake macro to set version Signed-off-by: Michele Calgaro --- CMakeLists.txt | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 7196a4d..36dd942 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -13,7 +13,6 @@ cmake_minimum_required( VERSION 3.1 ) #### general package setup project( tqscintilla ) -set( VERSION R14.1.0 ) #### include essential cmake modules @@ -33,6 +32,11 @@ include( GNUInstallDirs OPTIONAL ) include( TDEMacros ) +##### set version number ######################## + +tde_set_project_version( ) + + ##### setup install paths if( CMAKE_INSTALL_LIBDIR )