diff options
Diffstat (limited to 'src/gallium/targets')
-rw-r--r-- | src/gallium/targets/dri/meson.build | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build index 79dc046f896..323b337266f 100644 --- a/src/gallium/targets/dri/meson.build +++ b/src/gallium/targets/dri/meson.build @@ -127,6 +127,11 @@ if with_gallium_svga gallium_dri_link_with += [libsvga, libsvgadrm] gallium_dri_drivers += 'vmwgfx_dri.so' endif +if with_gallium_virgl + gallium_dri_c_args += '-DGALLIUM_VIRGL' + gallium_dri_link_with += [libvirgl, libvirgldrm, libvirglvtest] + gallium_dri_drivers += 'virtio_gpu_dri.so' +endif if with_gallium_radeonsi or with_gallium_r300 or with_gallium_r600 gallium_dri_link_with += libradeonwinsys |