projects
/
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 62bf8a51c293f339b7f195403e65ffa386614dac..808f50b07ef227aa4f4e8b6e9a67ca326467e214 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')