Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Beauzée-Luyssen <hugo@videolan.org>2018-09-28 12:26:37 +0300
committerHugo Beauzée-Luyssen <hugo@videolan.org>2018-09-28 18:42:35 +0300
commit3634ef1f40eef737a9ec0b3d7d10bfe3b083a302 (patch)
treec8e760e3e61547db90b43a23da042cf97f089a36 /meson.build
parent0b9808c5ccb572c12ba4a0950c575a577c803246 (diff)
meson: Don't hardcode the version multiple times
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build4
1 files changed, 2 insertions, 2 deletions
diff --git a/meson.build b/meson.build
index 1269636..647f5f9 100644
--- a/meson.build
+++ b/meson.build
@@ -285,7 +285,7 @@ endforeach
libdav1d = library('dav1d',
libdav1d_sources, nasm_objs,
- version: '0.0.1',
+ version: meson.project_version(),
objects: [bitdepth_objs, entrypoints_objs],
include_directories: dav1d_inc_dirs,
c_args: [stackalign_flag],
@@ -325,7 +325,7 @@ dav1d = executable('dav1d',
#
pkg_mod = import('pkgconfig')
pkg_mod.generate(libraries: libdav1d,
- version: '0.0.1',
+ version: meson.project_version(),
name: 'libdav1d',
filebase: 'dav1d',
description: 'AV1 decoding library'