From f0375eed24276e27e036f724c9fde5d344fc140a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 23 Nov 2022 16:04:43 +0100 Subject: backend/session: make optional Some compositors are not interested in wlr_session, for instance nested compositors. Disabling wlr_session removes the udev dependency. --- backend/drm/meson.build | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend/drm') diff --git a/backend/drm/meson.build b/backend/drm/meson.build index 7bde50c2..fc4d84d6 100644 --- a/backend/drm/meson.build +++ b/backend/drm/meson.build @@ -1,3 +1,7 @@ +if not features['session'] + subdir_done() +endif + hwdata = dependency('hwdata', required: false, native: true) if hwdata.found() hwdata_dir = hwdata.get_variable(pkgconfig: 'pkgdatadir') -- cgit v1.2.3