2021-12-17 12:36:26 +01:00
|
|
|
if have_vhost_user_gpu
|
2019-07-12 22:23:46 +04:00
|
|
|
executable('vhost-user-gpu', files('vhost-user-gpu.c', 'virgl.c', 'vugbm.c'),
|
2021-03-12 14:00:43 +04:00
|
|
|
dependencies: [qemuutil, pixman, gbm, virgl, vhost_user, opengl],
|
2019-07-12 22:23:46 +04:00
|
|
|
install: true,
|
|
|
|
install_dir: get_option('libexecdir'))
|
|
|
|
|
|
|
|
configure_file(input: '50-qemu-gpu.json.in',
|
|
|
|
output: '50-qemu-gpu.json',
|
2020-11-03 12:23:33 +01:00
|
|
|
configuration: { 'libexecdir' : get_option('prefix') / get_option('libexecdir') },
|
2020-08-26 15:04:16 +04:00
|
|
|
install_dir: qemu_datadir / 'vhost-user')
|
2019-07-12 22:23:46 +04:00
|
|
|
endif
|