From: Dylan Baker Date: Tue, 9 Jan 2018 01:43:45 +0000 (-0800) Subject: Meson: ensure variable defined X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=73ce7cb47406ec3e0fd56945dc66f7e258187630;p=mesa.git Meson: ensure variable defined A gallium driver is undefined if passing -Dgallium-drivers='' Fixes: e0b037d6979b2 ("meson: Build SWR driver") Signed-off-by: Dylan Baker Acked-by: Jordan Justen Acked-by: Jason Ekstrand --- diff --git a/meson.build b/meson.build index 1a1d3fd69b9..77e4e894b23 100644 --- a/meson.build +++ b/meson.build @@ -125,6 +125,7 @@ with_gallium_imx = false with_gallium_i915 = false with_gallium_svga = false with_gallium_virgl = false +with_gallium_swr = false _drivers = get_option('gallium-drivers') if _drivers == 'auto' if not ['darwin', 'windows'].contains(host_machine.system())