mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-05 13:05:59 +01:00
1928d1ce9f
The DRM, libinput and session use udev. They are all hosted under backend/.
24 lines
520 B
Meson
24 lines
520 B
Meson
udev = dependency('libudev')
|
|
wlr_deps += udev
|
|
|
|
wlr_files += files('backend.c')
|
|
|
|
all_backends = ['drm', 'libinput', 'x11']
|
|
backends = get_option('backends')
|
|
if 'auto' in backends and get_option('auto_features').enabled()
|
|
backends = all_backends
|
|
elif 'auto' in backends and get_option('auto_features').disabled()
|
|
backends = []
|
|
endif
|
|
|
|
foreach backend : all_backends
|
|
if backend in backends or 'auto' in backends
|
|
subdir(backend)
|
|
endif
|
|
endforeach
|
|
|
|
subdir('multi')
|
|
subdir('wayland')
|
|
subdir('headless')
|
|
|
|
subdir('session')
|