summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets/dri/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/targets/dri/meson.build')
-rw-r--r--src/gallium/targets/dri/meson.build5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/meson.build b/src/gallium/targets/dri/meson.build
index 6f0986af39e..771a38d3214 100644
--- a/src/gallium/targets/dri/meson.build
+++ b/src/gallium/targets/dri/meson.build
@@ -59,6 +59,11 @@ if with_gallium_radeonsi
]
gallium_dri_drivers += 'radeonsi_dri.so'
endif
+if with_gallium_nouveau
+ gallium_dri_c_args += '-DGALLIUM_NOUVEAU'
+ gallium_dri_link_with += [libnouveauwinsys, libnouveau]
+ gallium_dri_drivers += 'nouveau_dri.so'
+endif
libgallium_dri = shared_library(
'gallium_dri',