mirror of https://gitee.com/openkylin/qemu.git
meson: avoid unstable module warning with Meson 0.56.0 or newer
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
e8f3bd71d8
commit
b29b40f4ab
|
@ -3,7 +3,11 @@ project('qemu', ['c'], meson_version: '>=0.55.0',
|
||||||
version: run_command('head', meson.source_root() / 'VERSION').stdout().strip())
|
version: run_command('head', meson.source_root() / 'VERSION').stdout().strip())
|
||||||
|
|
||||||
not_found = dependency('', required: false)
|
not_found = dependency('', required: false)
|
||||||
keyval = import('unstable-keyval')
|
if meson.version().version_compare('>=0.56.0')
|
||||||
|
keyval = import('keyval')
|
||||||
|
else
|
||||||
|
keyval = import('unstable-keyval')
|
||||||
|
endif
|
||||||
ss = import('sourceset')
|
ss = import('sourceset')
|
||||||
|
|
||||||
sh = find_program('sh')
|
sh = find_program('sh')
|
||||||
|
|
Loading…
Reference in New Issue