diff options
author | Simon Ser <contact@emersion.fr> | 2021-10-02 17:29:42 +0200 |
---|---|---|
committer | Simon Ser <contact@emersion.fr> | 2021-12-14 14:33:00 +0100 |
commit | c0b120a30caae4cc538d1f83b722950d3d71a921 (patch) | |
tree | b769575b38cce7c7cd4f8ead012f87b1406a6005 | |
parent | bedfec94bb57cf7dc32f03fce463a30d3370bb20 (diff) |
build: add subproject fallback for libdrm
-rw-r--r-- | meson.build | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/meson.build b/meson.build index bdb6df19..67fe86fd 100644 --- a/meson.build +++ b/meson.build @@ -104,7 +104,27 @@ wayland_server = dependency('wayland-server', default_options: wayland_project_options, ) -drm = dependency('libdrm', version: '>=2.4.108') +drm = dependency('libdrm', + version: '>=2.4.108', + fallback: ['libdrm', 'ext_libdrm'], + default_options: [ + 'libkms=false', + 'intel=false', + 'radeon=false', + 'amdgpu=false', + 'nouveau=false', + 'vmwgfx=false', + 'omap=false', + 'exynos=false', + 'freedreno=false', + 'tegra=false', + 'vc4=false', + 'etnaviv=false', + 'cairo-tests=false', + 'man-pages=false', + 'valgrind=false', + ], +) gbm = dependency('gbm', version: '>=17.1.0') xkbcommon = dependency('xkbcommon') udev = dependency('libudev') |