mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-02 23:33:54 -06:00
12 lines
604 B
Meson
12 lines
604 B
Meson
if have_tools and virgl.found() and gbm.found() \
|
|
and 'CONFIG_LINUX' in config_host and pixman.found()
|
|
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
|