mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-06 09:13:55 -06:00
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>
This commit is contained in:
parent
9d71037f4b
commit
1b6954713f
4 changed files with 30 additions and 58 deletions
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue