mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-05 05:05:57 +01:00
build: add subproject fallback for libdrm
This commit is contained in:
parent
bedfec94bb
commit
c0b120a30c
1 changed files with 21 additions and 1 deletions
22
meson.build
22
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')
|
||||
|
|
Loading…
Reference in a new issue