aboutsummaryrefslogtreecommitdiff
path: root/ui/meson.build
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2021-01-07 14:02:29 +0100
committerPaolo Bonzini <pbonzini@redhat.com>2021-01-12 12:38:03 +0100
commit1b6954713fee49452077ebc09a8cf76b18cfe04e (patch)
treeb001dc166678c8434933ef6e51b7c3296db33b20 /ui/meson.build
parent9d71037f4beb203e3fddfe78ac9d79ef34999796 (diff)
downloadqemu-1b6954713fee49452077ebc09a8cf76b18cfe04e.zip
qemu-1b6954713fee49452077ebc09a8cf76b18cfe04e.tar.gz
qemu-1b6954713fee49452077ebc09a8cf76b18cfe04e.tar.bz2
configure: move GTK+ detection to Meson
This also allows removing CONFIG_NEED_X11, all the ingredients can be computed easily in meson.build. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'ui/meson.build')
-rw-r--r--ui/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/meson.build b/ui/meson.build
index cc764e1..634faba 100644
--- a/ui/meson.build
+++ b/ui/meson.build
@@ -57,7 +57,7 @@ if config_host.has_key('CONFIG_OPENGL_DMABUF')
ui_modules += {'egl-headless' : egl_headless_ss}
endif
-if config_host.has_key('CONFIG_GTK')
+if gtk.found()
softmmu_ss.add(when: 'CONFIG_WIN32', if_true: files('win32-kbd-hook.c'))
gtk_ss = ss.source_set()