diff options
Diffstat (limited to 'src/gallium/meson.build')
-rw-r--r-- | src/gallium/meson.build | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/src/gallium/meson.build b/src/gallium/meson.build index 6330c7514af..d05e67630c6 100644 --- a/src/gallium/meson.build +++ b/src/gallium/meson.build @@ -29,8 +29,16 @@ subdir('drivers/noop') subdir('drivers/trace') subdir('drivers/rbug') subdir('winsys/sw/null') -subdir('winsys/sw/dri') -subdir('winsys/sw/kms-dri') +if with_dri + subdir('winsys/sw/dri') +else + libswdri = [] +endif +if with_gallium_drisw_kms + subdir('winsys/sw/kms-dri') +else + libswkmsdri = [] +endif subdir('winsys/sw/wrapper') if with_gallium_swr if meson.version().version_compare('< 0.44.0') |