mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-11-08 13:29:45 -05:00
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.
(cherry picked from commit ab6607b950)
This commit is contained in:
parent
5f24c36d30
commit
59205cd93e
1 changed files with 1 additions and 0 deletions
|
|
@ -3,6 +3,7 @@ subdir('wlr')
|
||||||
exclude_files = ['meson.build', 'config.h.in', 'version.h.in']
|
exclude_files = ['meson.build', 'config.h.in', 'version.h.in']
|
||||||
if not features.get('drm-backend')
|
if not features.get('drm-backend')
|
||||||
exclude_files += 'backend/drm.h'
|
exclude_files += 'backend/drm.h'
|
||||||
|
exclude_files += 'types/wlr_drm_lease_v1.h'
|
||||||
endif
|
endif
|
||||||
if not features.get('libinput-backend')
|
if not features.get('libinput-backend')
|
||||||
exclude_files += 'backend/libinput.h'
|
exclude_files += 'backend/libinput.h'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue