diff options
author | Simon Ser <contact@emersion.fr> | 2022-11-26 20:22:07 +0100 |
---|---|---|
committer | Kirill Primak <vyivel@eclair.cafe> | 2022-11-27 10:57:32 +0000 |
commit | ab6607b950ef763106920ea4f21c4357f48040d7 (patch) | |
tree | 949c306e6388d2803dfc106195aeac254fa047a4 /include/meson.build | |
parent | 35a0d9c85d63344c41a4b2fd5ec9ed4636889b8a (diff) |
build: exclude <wlr/types/wlr_drm_lease_v1.h> without DRM backend
When the DRM backend is disabled, so is the DRM lease protocol.
Prevent the header from being installed in that case.
Diffstat (limited to 'include/meson.build')
-rw-r--r-- | include/meson.build | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/meson.build b/include/meson.build index 69a6d0e0..358aada8 100644 --- a/include/meson.build +++ b/include/meson.build @@ -3,6 +3,7 @@ subdir('wlr') exclude_files = ['meson.build', 'config.h.in', 'version.h.in'] if not features.get('drm-backend') exclude_files += 'backend/drm.h' + exclude_files += 'types/wlr_drm_lease_v1.h' endif if not features.get('libinput-backend') exclude_files += 'backend/libinput.h' |