summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2020-05-29 15:40:34 -0400
committerMatthias Clasen <mclasen@redhat.com>2020-05-30 01:42:38 -0400
commitef6456261e61b44752459c29045f1dc7922cf8e6 (patch)
tree2fed7eba442b1621bdd832a2a91bf5c4e1f411be
parenta1eefc2b390d3733cd891405ab682e433932ff07 (diff)
downloadgtk+-test-branch.tar.gz
meson: Cosmeticstest-branch
Treat the display backend list like other lists in the summary.
-rw-r--r--meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 3fd05c24d1..fc0b1ef7fc 100644
--- a/meson.build
+++ b/meson.build
@@ -781,10 +781,12 @@ pkg_install_dir = join_paths(get_option('libdir'), 'pkgconfig')
pkgs = [ 'gtk4.pc' ]
pkg_targets = ''
+display_backends = []
foreach backend: [ 'broadway', 'quartz', 'wayland', 'win32', 'x11', ]
if get_variable('@0@_enabled'.format(backend))
pkgs += ['gtk4-@0@.pc'.format(backend)]
pkg_targets += ' ' + backend
+ display_backends += [ backend ]
endif
endforeach
pkgconf.set('GDK_BACKENDS', pkg_targets.strip())
@@ -830,7 +832,7 @@ endif
#### Summary ####
-summary('Display backends', pkg_targets.strip())
+summary('Display backends', display_backends)
summary('Print backends', print_backends)
summary('Media backends', media_backends)
summary('Vulkan support', have_vulkan)