Require Meson 0.48 to get rid of warnings

Debian buster (stable) provides Meson 0.49, which is also available in
stretch (oldstable) backports. It's time to abandon Meson 0.37.

Ref: 20b3f101a4
This commit is contained in:
Romain Vimont 2020-04-13 22:43:28 +02:00
parent 270d0bf639
commit eb8f7a1f28
2 changed files with 4 additions and 2 deletions

View File

@ -1,6 +1,6 @@
project('scrcpy', 'c',
version: '1.12.1',
meson_version: '>= 0.37',
meson_version: '>= 0.48',
default_options: [
'c_std=c11',
'warning_level=2',

View File

@ -3,7 +3,9 @@
prebuilt_server = get_option('prebuilt_server')
if prebuilt_server == ''
custom_target('scrcpy-server',
build_always: true, # gradle is responsible for tracking source changes
# gradle is responsible for tracking source changes
build_by_default: true,
build_always_stale: true,
output: 'scrcpy-server',
command: [find_program('./scripts/build-wrapper.sh'), meson.current_source_dir(), '@OUTPUT@', get_option('buildtype')],
console: true,