From 526ae5944c5cc97e02f0282c57ce7320ceb2daa5 Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Sun, 15 Nov 2020 23:15:49 +0100 Subject: [PATCH] build: improve summary via bool_yn Shows YES/NO instead of 1/0, improves readability. --- meson.build | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/meson.build b/meson.build index 3235dd3f..348fc2a2 100644 --- a/meson.build +++ b/meson.build @@ -168,14 +168,14 @@ wlroots = declare_dependency( meson.override_dependency('wlroots', wlroots) summary({ - 'systemd': conf_data.get('WLR_HAS_SYSTEMD', 0), - 'elogind': conf_data.get('WLR_HAS_ELOGIND', 0), - 'libseat': conf_data.get('WLR_HAS_LIBSEAT', 0), - 'xwayland': conf_data.get('WLR_HAS_XWAYLAND', 0), - 'x11_backend': conf_data.get('WLR_HAS_X11_BACKEND', 0), - 'xcb-icccm': conf_data.get('WLR_HAS_XCB_ICCCM', 0), - 'xcb-errors': conf_data.get('WLR_HAS_XCB_ERRORS', 0), -}) + 'systemd': conf_data.get('WLR_HAS_SYSTEMD', 0) == 1, + 'elogind': conf_data.get('WLR_HAS_ELOGIND', 0) == 1, + 'libseat': conf_data.get('WLR_HAS_LIBSEAT', 0) == 1, + 'xwayland': conf_data.get('WLR_HAS_XWAYLAND', 0) == 1, + 'x11_backend': conf_data.get('WLR_HAS_X11_BACKEND', 0) == 1, + 'xcb-icccm': conf_data.get('WLR_HAS_XCB_ICCCM', 0) == 1, + 'xcb-errors': conf_data.get('WLR_HAS_XCB_ERRORS', 0) == 1, +}, bool_yn: true) if get_option('examples') subdir('examples')