diff options
-rw-r--r-- | src/gallium/meson.build | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/meson.build b/src/gallium/meson.build index 7ccf4819079..07a97f72490 100644 --- a/src/gallium/meson.build +++ b/src/gallium/meson.build @@ -73,7 +73,9 @@ endif if with_glx == 'gallium-xlib' subdir('winsys/sw/xlib') endif -subdir('state_trackers/dri') +if with_dri + subdir('state_trackers/dri') +endif if with_osmesa == 'gallium' subdir('state_trackers/osmesa') endif @@ -87,7 +89,7 @@ endif # TODO: SWR # TODO: virgl # TODO: clover -if with_dri and with_gallium +if with_dri subdir('targets/dri') endif if with_osmesa == 'gallium' |