mirror of
https://github.com/xemu-project/xemu.git
synced 2024-12-03 17:11:01 +00:00
0265fe9e21
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>
12 lines
520 B
Meson
12 lines
520 B
Meson
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,
|
|
install_dir: get_option('libexecdir'))
|
|
|
|
configure_file(input: '50-qemu-gpu.json.in',
|
|
output: '50-qemu-gpu.json',
|
|
configuration: { 'libexecdir' : get_option('prefix') / get_option('libexecdir') },
|
|
install_dir: qemu_datadir / 'vhost-user')
|
|
endif
|