aboutsummaryrefslogtreecommitdiff
path: root/qapi/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'qapi/meson.build')
-rw-r--r--qapi/meson.build6
1 files changed, 5 insertions, 1 deletions
diff --git a/qapi/meson.build b/qapi/meson.build
index ab68e7900e..2839871b47 100644
--- a/qapi/meson.build
+++ b/qapi/meson.build
@@ -35,7 +35,6 @@ qapi_all_modules = [
'misc-target',
'net',
'pragma',
- 'qdev',
'pci',
'qom',
'rdma',
@@ -49,6 +48,11 @@ qapi_all_modules = [
'ui',
'yank',
]
+if have_system
+ qapi_all_modules += [
+ 'qdev',
+ ]
+endif
qapi_storage_daemon_modules = [
'block-core',