OSDN Git Service
(root)
/
qmiga
/
qemu.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e8f3bd7
)
meson: avoid unstable module warning with Meson 0.56.0 or newer
author
Paolo Bonzini
<pbonzini@redhat.com>
Mon, 10 Aug 2020 16:04:43 +0000
(18:04 +0200)
committer
Paolo Bonzini
<pbonzini@redhat.com>
Fri, 21 Aug 2020 10:30:45 +0000
(06:30 -0400)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
meson.build
patch
|
blob
|
history
diff --git
a/meson.build
b/meson.build
index
62bf8a5
..
808f50b
100644
(file)
--- a/
meson.build
+++ b/
meson.build
@@
-3,7
+3,11
@@
project('qemu', ['c'], meson_version: '>=0.55.0',
version: run_command('head', meson.source_root() / 'VERSION').stdout().strip())
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')
sh = find_program('sh')