diff options
author | Paolo Bonzini | 2021-12-17 12:36:26 +0100 |
---|---|---|
committer | Paolo Bonzini | 2022-02-21 10:35:53 +0100 |
commit | 0265fe9e21bb98f7401fd2364c2b57c9adaaa4ff (patch) | |
tree | d67a46bc226a8d3c8de63490e43b4aba2408b2ed /contrib | |
parent | configure, meson: move guest-agent, tools to meson (diff) | |
download | qemu-0265fe9e21bb98f7401fd2364c2b57c9adaaa4ff.tar.gz qemu-0265fe9e21bb98f7401fd2364c2b57c9adaaa4ff.tar.xz qemu-0265fe9e21bb98f7401fd2364c2b57c9adaaa4ff.zip |
meson: refine check for whether to look for virglrenderer
The check should be performed even if !have_system, as long as there is some hope that
vhost-user-gpu will be built. Store into have_vhost_user_gpu whether vhost-user-gpu
will be built; we will also use the variable to decide whether to look for libepoxy.
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/vhost-user-gpu/meson.build | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/contrib/vhost-user-gpu/meson.build b/contrib/vhost-user-gpu/meson.build index b4e26045da..c8883c2d8e 100644 --- a/contrib/vhost-user-gpu/meson.build +++ b/contrib/vhost-user-gpu/meson.build @@ -1,5 +1,4 @@ -if have_tools and virgl.found() and gbm.found() \ - and 'CONFIG_LINUX' in config_host and pixman.found() +if have_vhost_user_gpu executable('vhost-user-gpu', files('vhost-user-gpu.c', 'virgl.c', 'vugbm.c'), dependencies: [qemuutil, pixman, gbm, virgl, vhost_user, opengl], install: true, |