summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorChris Hofstaedtler <chris@hofstaedtler.name>2020-12-30 23:16:23 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-12 12:38:03 +0100
commitcb7abd8319d19000b57ae6c5c474c2635db054c6 (patch)
tree24078878ed4a2059e653a56d922846565b5e73b7
parent9a46d044d86885e3301a5b5d62b744e8e2114a01 (diff)
downloadfocaccia-qemu-cb7abd8319d19000b57ae6c5c474c2635db054c6.tar.gz
focaccia-qemu-cb7abd8319d19000b57ae6c5c474c2635db054c6.zip
meson: fix Cocoa option in summary
Cocoa support was always shown as "no", even it if was enabled.

Fixes: b4e312e953b ("configure: move cocoa option to Meson")
Cc: Paolo Bonzini <pbonzini@redhat.com>
Cc: Peter Maydell <peter.maydell@linaro.org>
Cc: Philippe Mathieu-Daudé <philmd@redhat.com>
Signed-off-by: Chris Hofstaedtler <chris@hofstaedtler.name>
Message-Id: <20201230221623.60423-1-chris@hofstaedtler.name>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
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()}