From ab6607b950ef763106920ea4f21c4357f48040d7 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sat, 26 Nov 2022 20:22:07 +0100 Subject: [PATCH] build: exclude without DRM backend When the DRM backend is disabled, so is the DRM lease protocol. Prevent the header from being installed in that case. --- include/meson.build | 1 + 1 file changed, 1 insertion(+) 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'