From cb7abd8319d19000b57ae6c5c474c2635db054c6 Mon Sep 17 00:00:00 2001 From: Chris Hofstaedtler Date: Wed, 30 Dec 2020 23:16:23 +0100 Subject: meson: fix Cocoa option in summary MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cocoa support was always shown as "no", even it if was enabled. Fixes: b4e312e953b ("configure: move cocoa option to Meson") Cc: Paolo Bonzini Cc: Peter Maydell Cc: Philippe Mathieu-Daudé Signed-off-by: Chris Hofstaedtler Message-Id: <20201230221623.60423-1-chris@hofstaedtler.name> Signed-off-by: Paolo Bonzini --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'meson.build') diff --git a/meson.build b/meson.build index e4db67ccf2..bd4ff3118b 100644 --- a/meson.build +++ b/meson.build @@ -2330,7 +2330,7 @@ summary_info += {'profiler': config_host.has_key('CONFIG_PROFILER')} summary_info += {'link-time optimization (LTO)': get_option('b_lto')} summary_info += {'static build': config_host.has_key('CONFIG_STATIC')} if targetos == 'darwin' - summary_info += {'Cocoa support': config_host.has_key('CONFIG_COCOA')} + summary_info += {'Cocoa support': cocoa.found()} endif # TODO: add back version summary_info += {'SDL support': sdl.found()} -- cgit v1.2.3