summaryrefslogtreecommitdiffstats
path: root/meson.build
diff options
context:
space:
mode:
authorMarc-André Lureau2022-06-28 15:23:15 +0200
committerMarc-André Lureau2022-08-18 08:46:55 +0200
commitf0caba4475b630c79aa34ee7385d0fbe8a2d1ea8 (patch)
treec79835434186f10c912825933d4a15f6419cb4f1 /meson.build
parentdbus-vmstate: Restrict error checks to registered proxies in dbus_get_proxies (diff)
downloadqemu-f0caba4475b630c79aa34ee7385d0fbe8a2d1ea8.tar.gz
qemu-f0caba4475b630c79aa34ee7385d0fbe8a2d1ea8.tar.xz
qemu-f0caba4475b630c79aa34ee7385d0fbe8a2d1ea8.zip
build-sys: disable vhost-user-gpu if !opengl
vhost-user-gpu uses epoxy/glflush and thus requires opengl. Signed-off-by: Marc-André Lureau <marcandre.lureau@redhat.com> Message-Id: <20220628132315.664026-1-marcandre.lureau@redhat.com>
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 30a380752c..20fddbd707 100644
--- a/meson.build
+++ b/meson.build
@@ -1097,7 +1097,7 @@ if (have_system or have_tools) and (virgl.found() or opengl.found())
gbm = dependency('gbm', method: 'pkg-config', required: false,
kwargs: static_kwargs)
endif
-have_vhost_user_gpu = have_vhost_user_gpu and virgl.found() and gbm.found()
+have_vhost_user_gpu = have_vhost_user_gpu and virgl.found() and opengl.found() and gbm.found()
gnutls = not_found
gnutls_crypto = not_found