Skip to content

Commit b623ec6

Browse files
evelikovXinfengZhang
authored andcommitted
meson: docs: use libva_version over project_version()
We use some unorthodox handling of the version - we suffix a "pre1" or a fourth digit in the meson case to indicate that. The top-level meson.build already swaps the digit - saving that as liva_version variable. Use the variable, otherwise the docs will list the wrong version. Signed-off-by: Emil Velikov <[email protected]>
1 parent f1e4f94 commit b623ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/meson.build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ foreach h : libva_headers_doc
3434
endforeach
3535

3636
config = configuration_data()
37-
config.set('PACKAGE_VERSION', meson.project_version())
37+
config.set('PACKAGE_VERSION', libva_version)
3838
config.set('VA_HEADER_DIR', headerdir)
3939
config.set('VA_HEADER_FILES', headers)
4040
config.set('VA_HTML_FOOTER', footer)

0 commit comments

Comments
 (0)