diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-23 16:04:43 +0100 |
---|---|---|
committer | Simon Zeni <simon@bl4ckb0ne.ca> | 2022-11-25 16:15:29 +0000 |
commit | f0375eed24276e27e036f724c9fde5d344fc140a (patch) | |
tree | 32732996951bd290acd3ba12084ab42778134073 /backend/drm | |
parent | 21254737bf97e5be44071063c14fce5a403a9a22 (diff) |
backend/session: make optional
Some compositors are not interested in wlr_session, for instance
nested compositors.
Disabling wlr_session removes the udev dependency.
Diffstat (limited to 'backend/drm')
-rw-r--r-- | backend/drm/meson.build | 4 |
1 files changed, 4 insertions, 0 deletions
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') |