meson: refine check for whether to look for virglrenderer
commit0265fe9e21bb98f7401fd2364c2b57c9adaaa4ff
authorPaolo Bonzini <pbonzini@redhat.com>
Fri, 17 Dec 2021 11:36:26 +0000 (17 12:36 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 21 Feb 2022 09:35:53 +0000 (21 10:35 +0100)
treed67a46bc226a8d3c8de63490e43b4aba2408b2ed
parent20cf5cb487021dd1bec1eec326af138a8b15d987
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>
contrib/vhost-user-gpu/meson.build
meson.build