mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-22 04:45:58 +01:00
backend/{drm,libinput}: exclude headers when disabled
This commit is contained in:
parent
65c0ab00b6
commit
b37731cdbb
1 changed files with 6 additions and 0 deletions
|
@ -1,6 +1,12 @@
|
|||
subdir('wlr')
|
||||
|
||||
exclude_files = ['meson.build', 'config.h.in', 'version.h.in']
|
||||
if not features.get('drm-backend')
|
||||
exclude_files += 'backend/drm.h'
|
||||
endif
|
||||
if not features.get('libinput-backend')
|
||||
exclude_files += 'backend/libinput.h'
|
||||
endif
|
||||
if not features.get('x11-backend')
|
||||
exclude_files += 'backend/x11.h'
|
||||
endif
|
||||
|
|
Loading…
Reference in a new issue