aports/testing/hyprland/use-system-installed-udis86.patch
2024-01-02 07:40:38 +00:00

16 lines
615 B
Diff

diff --git a/meson.build b/meson.build
index de29528e..f2439290 100644
--- a/meson.build
+++ b/meson.build
@@ -37,9 +37,7 @@ wlroots = subproject('wlroots', default_options: ['examples=false', 'renderers=g
have_xwlr = wlroots.get_variable('features').get('xwayland')
xcb_dep = dependency('xcb', required: get_option('xwayland'))
-cmake = import('cmake')
-udis = cmake.subproject('udis86')
-udis86 = udis.dependency('libudis86')
+udis86 = dependency('udis86')
if get_option('xwayland').enabled() and not have_xwlr
error('Cannot enable Xwayland in Hyprland: wlroots has been built without Xwayland support')