> v2: - Use dependency('', required : false) instead of
> declare_dependency(), the later will always report that it is
> found, which is not what we want.
>
> Signed-off-by: Dylan Baker
> ---
> meson.build | 89
>
In the old days (0.42.x), when mesa's meson system was written the
recommendation for handling conditional dependencies was to define them
as empty lists. When meson would evaluate the dependencies of a target
it would recursively flatten all of the arguments, and empty lists would
be removed.