mirror of
https://github.com/ultravideo/uvg266.git
synced 2024-11-23 18:14:06 +00:00
Only use version prefix in kvazaar binary
Fixes regression since 54f08f2
causing libkvazaar version checks to not
work (i.e. pkg-config)
This commit is contained in:
parent
47a9f1a272
commit
c515796a21
|
@ -182,7 +182,7 @@ typedef int16_t coeff_t;
|
|||
// NOTE: When making a release, check to see if incrementing libversion in
|
||||
// configure.ac is necessary.
|
||||
#ifndef KVZ_VERSION
|
||||
#define KVZ_VERSION v0.8.3
|
||||
#define KVZ_VERSION 0.8.3
|
||||
#endif
|
||||
#define VERSION_STRING QUOTE_EXPAND(KVZ_VERSION)
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ cd ..
|
|||
if type git >/dev/null 2>/dev/null && [ -d .git ]; then
|
||||
version="$(git describe --dirty --tags --match 'v*')"
|
||||
else
|
||||
version="$(awk '/#define KVZ_VERSION/ { print $3 }' src/global.h)"
|
||||
version="v$(awk '/#define KVZ_VERSION/ { print $3 }' src/global.h)"
|
||||
fi
|
||||
|
||||
printf '%s\n' "$version"
|
||||
|
|
Loading…
Reference in a new issue