]> Git Repo - qemu.git/commitdiff
meson: add spice dependency to core spice source files.
authorGerd Hoffmann <[email protected]>
Wed, 14 Oct 2020 12:11:19 +0000 (14:11 +0200)
committerGerd Hoffmann <[email protected]>
Thu, 15 Oct 2020 09:14:40 +0000 (11:14 +0200)
Right now it happens to work by pure luck because the spice chardevs
add the spice dependency to the softmmu source set.  That'll change
though once we start building spice chardevs as module, so lets fix
it properly.

Signed-off-by: Gerd Hoffmann <[email protected]>
Reviewed-by: Philippe Mathieu-Daudé <[email protected]>
Message-id: 20201014121120[email protected]

ui/meson.build

index 78ad792ffb8da21ba48ad288c0abc74139d32f6a..6ce814867852d7f34b12ca5034487a45582241dd 100644 (file)
@@ -14,7 +14,7 @@ softmmu_ss.add(files(
 ))
 
 softmmu_ss.add(when: 'CONFIG_LINUX', if_true: files('input-linux.c'))
-softmmu_ss.add(when: 'CONFIG_SPICE', if_true: files('spice-core.c', 'spice-input.c', 'spice-display.c'))
+softmmu_ss.add(when: [spice, 'CONFIG_SPICE'], if_true: files('spice-core.c', 'spice-input.c', 'spice-display.c'))
 softmmu_ss.add(when: cocoa, if_true: files('cocoa.m'))
 
 vnc_ss = ss.source_set()
This page took 0.026816 seconds and 4 git commands to generate.