mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
meson: remove CONFIG_POSIX and CONFIG_WIN32 from config_targetos
For consistency with other OSes, use if...endif for rules that are target-independent. Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
This commit is contained in:
@ -105,7 +105,9 @@ if dbus_display
|
||||
endif
|
||||
|
||||
if gtk.found()
|
||||
system_ss.add(when: 'CONFIG_WIN32', if_true: files('win32-kbd-hook.c'))
|
||||
if targetos == 'windows'
|
||||
system_ss.add(files('win32-kbd-hook.c'))
|
||||
endif
|
||||
|
||||
gtk_ss = ss.source_set()
|
||||
gtk_ss.add(gtk, vte, pixman, files('gtk.c'))
|
||||
@ -119,7 +121,9 @@ if gtk.found()
|
||||
endif
|
||||
|
||||
if sdl.found()
|
||||
system_ss.add(when: 'CONFIG_WIN32', if_true: files('win32-kbd-hook.c'))
|
||||
if targetos == 'windows'
|
||||
system_ss.add(files('win32-kbd-hook.c'))
|
||||
endif
|
||||
|
||||
sdl_ss = ss.source_set()
|
||||
sdl_ss.add(sdl, sdl_image, pixman, glib, files(
|
||||
|
Reference in New Issue
Block a user