summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2022-06-20 17:34:19 +0900
committerMichele Calgaro <[email protected]>2022-06-20 17:34:19 +0900
commitee2c6946ed08daf606e6c28e7d400fa888ed246f (patch)
tree120a3217f11216a25a93e6bc8b90c5cfe3ee93db
parent456c383bad19a53e20e88a4a942427390f8ea552 (diff)
downloadakode-ee2c6946ed08daf606e6c28e7d400fa888ed246f.tar.gz
akode-ee2c6946ed08daf606e6c28e7d400fa888ed246f.zip
Use TDE cmake macro to set version
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--CMakeLists.txt7
1 files changed, 6 insertions, 1 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ad11eb3..77c17fa 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -16,7 +16,7 @@ cmake_minimum_required( VERSION 3.1 )
project( akode )
set( PACKAGE akode )
-set( VERSION 2.0.2 )
+set( PACKAGE_VERSION 2.0.2 )
##### include essential cmake modules
@@ -35,6 +35,11 @@ include( CheckStructHasMember )
include( TDEMacros )
+##### set version number ########################
+
+tde_set_project_version( )
+
+
##### setup install paths
include( TDESetupPaths )