mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-05 00:33:55 -06:00
meson: move SDL and SDL-image detection to meson
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
parent
ffac93df19
commit
35be72ba72
6 changed files with 37 additions and 146 deletions
|
@ -55,11 +55,11 @@ if config_host.has_key('CONFIG_GTK') and config_host.has_key('CONFIG_VTE')
|
|||
ui_modules += {'gtk' : gtk_ss}
|
||||
endif
|
||||
|
||||
if config_host.has_key('CONFIG_SDL')
|
||||
if sdl.found()
|
||||
softmmu_ss.add(when: 'CONFIG_WIN32', if_true: files('win32-kbd-hook.c'))
|
||||
|
||||
sdl_ss = ss.source_set()
|
||||
sdl_ss.add(pixman, glib, files(
|
||||
sdl_ss.add(sdl, sdl_image, pixman, glib, files(
|
||||
'sdl2-2d.c',
|
||||
'sdl2-input.c',
|
||||
'sdl2.c',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue