From 0250d0c7a62430c0ac94a7447e02eb6c02dce8ee Mon Sep 17 00:00:00 2001 From: "Reed A. Cartwright" Date: Wed, 5 Jun 2024 21:10:59 -0700 Subject: [PATCH] Update version string handling --- src/meson.build | 3 +-- src/version.h.in.in | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/src/meson.build b/src/meson.build index a15c770..a8e7335 100644 --- a/src/meson.build +++ b/src/meson.build @@ -29,8 +29,7 @@ version_src = configure_file(input : 'version.h.in.in', 'version_patch' : semver[2], 'version_int' : (semver[0].to_int()*1000+ semver[1].to_int())*10000+ \ semver[2].to_int(), - 'version_vcs' : '@VCS_TAG@' - + 'version_str' : '@VCS_TAG@' }) version_file = vcs_tag(input : version_src, output : 'version.h') diff --git a/src/version.h.in.in b/src/version.h.in.in index 62c7db7..22dbf75 100644 --- a/src/version.h.in.in +++ b/src/version.h.in.in @@ -1,7 +1,7 @@ #ifndef COATI_VERSION_H_FILE #define COATI_VERSION_H_FILE -#define COATI_VERSION_STRING "@version_vcs@" +#define COATI_VERSION_STRING "@version_str@" #define COATI_VERSION_INTEGER @version_int@ #define COATI_VERSION_MAJOR @version_major@ #define COATI_VERSION_MINOR @version_minor@