mirror of
https://github.com/hyprwm/wlroots-hyprland.git
synced 2024-11-29 16:05:59 +01:00
build: improve summary via bool_yn
Shows YES/NO instead of 1/0, improves readability.
This commit is contained in:
parent
02df7b7ac8
commit
526ae5944c
1 changed files with 8 additions and 8 deletions
16
meson.build
16
meson.build
|
@ -168,14 +168,14 @@ wlroots = declare_dependency(
|
||||||
meson.override_dependency('wlroots', wlroots)
|
meson.override_dependency('wlroots', wlroots)
|
||||||
|
|
||||||
summary({
|
summary({
|
||||||
'systemd': conf_data.get('WLR_HAS_SYSTEMD', 0),
|
'systemd': conf_data.get('WLR_HAS_SYSTEMD', 0) == 1,
|
||||||
'elogind': conf_data.get('WLR_HAS_ELOGIND', 0),
|
'elogind': conf_data.get('WLR_HAS_ELOGIND', 0) == 1,
|
||||||
'libseat': conf_data.get('WLR_HAS_LIBSEAT', 0),
|
'libseat': conf_data.get('WLR_HAS_LIBSEAT', 0) == 1,
|
||||||
'xwayland': conf_data.get('WLR_HAS_XWAYLAND', 0),
|
'xwayland': conf_data.get('WLR_HAS_XWAYLAND', 0) == 1,
|
||||||
'x11_backend': conf_data.get('WLR_HAS_X11_BACKEND', 0),
|
'x11_backend': conf_data.get('WLR_HAS_X11_BACKEND', 0) == 1,
|
||||||
'xcb-icccm': conf_data.get('WLR_HAS_XCB_ICCCM', 0),
|
'xcb-icccm': conf_data.get('WLR_HAS_XCB_ICCCM', 0) == 1,
|
||||||
'xcb-errors': conf_data.get('WLR_HAS_XCB_ERRORS', 0),
|
'xcb-errors': conf_data.get('WLR_HAS_XCB_ERRORS', 0) == 1,
|
||||||
})
|
}, bool_yn: true)
|
||||||
|
|
||||||
if get_option('examples')
|
if get_option('examples')
|
||||||
subdir('examples')
|
subdir('examples')
|
||||||
|
|
Loading…
Reference in a new issue