summaryrefslogblamecommitdiffstats
path: root/contrib/vhost-user-gpu/meson.build
blob: c8883c2d8e528043f7cb3a1f8244290a7e52a6b9 (plain) (tree)
1
2
3
4
5
6
7
8
9
                      
                                                                               
                                                                              




                                                   
                                                                                                   
                                                          
     
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