diff options
author | Marc-André Lureau | 2021-10-06 12:18:09 +0200 |
---|---|---|
committer | Marc-André Lureau | 2021-12-21 07:50:21 +0100 |
commit | ddece4657627026a4c853faa8f37029097144e73 (patch) | |
tree | f273d5bc4e3151381d4f54a3eced88eecf6a72a6 /meson.build | |
parent | Merge tag 'pull-user-20211220' of https://gitlab.com/rth7680/qemu into staging (diff) | |
download | qemu-ddece4657627026a4c853faa8f37029097144e73.tar.gz qemu-ddece4657627026a4c853faa8f37029097144e73.tar.xz qemu-ddece4657627026a4c853faa8f37029097144e73.zip |
ui/vdagent: add CHECK_SPICE_PROTOCOL_VERSION
Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/meson.build b/meson.build index f45ecf31bd..1c70839bbf 100644 --- a/meson.build +++ b/meson.build @@ -1497,6 +1497,11 @@ config_host_data.set('CONFIG_ZSTD', zstd.found()) config_host_data.set('CONFIG_FUSE', fuse.found()) config_host_data.set('CONFIG_FUSE_LSEEK', fuse_lseek.found()) config_host_data.set('CONFIG_SPICE_PROTOCOL', spice_protocol.found()) +if spice_protocol.found() +config_host_data.set('CONFIG_SPICE_PROTOCOL_MAJOR', spice_protocol.version().split('.')[0]) +config_host_data.set('CONFIG_SPICE_PROTOCOL_MINOR', spice_protocol.version().split('.')[1]) +config_host_data.set('CONFIG_SPICE_PROTOCOL_MICRO', spice_protocol.version().split('.')[2]) +endif config_host_data.set('CONFIG_SPICE', spice.found()) config_host_data.set('CONFIG_X11', x11.found()) config_host_data.set('CONFIG_CFI', get_option('cfi')) |