build: move udev dep to backend/

The DRM, libinput and session use udev. They are all hosted under
backend/.
This commit is contained in:
Simon Ser 2022-10-24 12:21:48 +02:00 committed by Simon Zeni
parent f3ba14e491
commit 1928d1ce9f
2 changed files with 3 additions and 2 deletions

View File

@ -1,3 +1,6 @@
udev = dependency('libudev')
wlr_deps += udev
wlr_files += files('backend.c')
all_backends = ['drm', 'libinput', 'x11']

View File

@ -128,7 +128,6 @@ drm = dependency('libdrm',
],
)
xkbcommon = dependency('xkbcommon')
udev = dependency('libudev')
pixman = dependency('pixman-1')
math = cc.find_library('m')
rt = cc.find_library('rt')
@ -138,7 +137,6 @@ wlr_deps = [
wayland_server,
drm,
xkbcommon,
udev,
pixman,
math,
rt,