From ec14f888b875943cceefda214eeed27c6c6440a6 Mon Sep 17 00:00:00 2001 From: Mark Cave-Ayland Date: Tue, 25 Aug 2020 23:23:10 +0100 Subject: [PATCH] meson: don't require CONFIG_VTE for the GTK UI Prevously CONFIG_VTE was not required to build QEMU with GTK UI support as not all platforms have VTE available (in particular Windows). Remove this requirement from the meson build system to enable QEMU to be built with GTK UI support for Windows once again. Signed-off-by: Mark Cave-Ayland Reviewed-by: Gerd Hoffmann Signed-off-by: Paolo Bonzini --- ui/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/meson.build b/ui/meson.build index 393c9bcb53..962e776569 100644 --- a/ui/meson.build +++ b/ui/meson.build @@ -44,7 +44,7 @@ if config_host.has_key('CONFIG_CURSES') ui_modules += {'curses' : curses_ss} endif -if config_host.has_key('CONFIG_GTK') and config_host.has_key('CONFIG_VTE') +if config_host.has_key('CONFIG_GTK') softmmu_ss.add(when: 'CONFIG_WIN32', if_true: files('win32-kbd-hook.c')) gtk_ss = ss.source_set()