Configure version at meson project level

Make meson aware of the project version, so that it does not print:

    Project version: undefined
This commit is contained in:
Romain Vimont
2018-11-12 14:09:11 +01:00
parent b5e630eea3
commit 6dc6ec05d5
3 changed files with 6 additions and 3 deletions

View File

@@ -1,4 +1,7 @@
project('scrcpy', 'c', meson_version: '>= 0.37', default_options : 'c_std=c11')
project('scrcpy', 'c',
version: '1.5',
meson_version: '>= 0.37',
default_options: 'c_std=c11')
if get_option('build_app')
subdir('app')