1ea458960SMarc-André Lureauif 'CONFIG_TOOLS' in config_host and 'CONFIG_VIRGL' in config_host \ 2*b7612f45SPaolo Bonzini and 'CONFIG_GBM' in config_host and 'CONFIG_LINUX' in config_host \ 3*b7612f45SPaolo Bonzini and pixman.found() 4ea458960SMarc-André Lureau executable('vhost-user-gpu', files('vhost-user-gpu.c', 'virgl.c', 'vugbm.c'), 5ea458960SMarc-André Lureau link_with: libvhost_user, 6ea458960SMarc-André Lureau dependencies: [qemuutil, pixman, gbm, virgl], 7ea458960SMarc-André Lureau install: true, 8ea458960SMarc-André Lureau install_dir: get_option('libexecdir')) 9ea458960SMarc-André Lureau 10ea458960SMarc-André Lureau configure_file(input: '50-qemu-gpu.json.in', 11ea458960SMarc-André Lureau output: '50-qemu-gpu.json', 12ea458960SMarc-André Lureau configuration: config_host, 13ea458960SMarc-André Lureau install_dir: config_host['qemu_datadir'] / 'vhost-user') 14ea458960SMarc-André Lureauendif 15