meson: add override_dependency when possible
authorDylan Baker <dylan@pnwbakers.com>
Wed, 17 Nov 2021 20:57:54 +0000 (12:57 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Tue, 14 Dec 2021 00:20:40 +0000 (00:20 +0000)
commitd9188a7750c99ce9f3d9e0e2aea93f86491e0cb6
tree7ea7486ae4ca8915bd8d69f901f96c7ec9466667
parent9324e4f054fa4d7c213400545e8fa6b42392c5a5
meson: add override_dependency when possible

This allows consumers of libdrm as a subproject to use the simpler
`dependency('libdrm', fallback : 'libdrm')` syntax, as the libdrm build
files already tell meson that they override a dependency called
"libdrm".

Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
amdgpu/meson.build
etnaviv/meson.build
exynos/meson.build
freedreno/meson.build
intel/meson.build
libkms/meson.build
meson.build
nouveau/meson.build
omap/meson.build
radeon/meson.build
tegra/meson.build