summaryrefslogtreecommitdiff
path: root/hw/xwin/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'hw/xwin/meson.build')
-rw-r--r--hw/xwin/meson.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/hw/xwin/meson.build b/hw/xwin/meson.build
index f09c5a435..34efcb2aa 100644
--- a/hw/xwin/meson.build
+++ b/hw/xwin/meson.build
@@ -105,7 +105,7 @@ srcs_windows += [
]
convert = find_program('convert')
-custom_target(
+x_ico = custom_target(
'xlogo-icon',
command: [convert, '-background', 'transparent', '-trim', '-define', 'icon:auto-resize', '@INPUT@', '@OUTPUT@'],
input: 'X.svg',
@@ -116,6 +116,8 @@ rsrc = windows.compile_resources(
'XWin.rc',
args: ['--use-temp-file', '-DHOST="@0@-@1@"'.format(host_machine.system(), host_machine.cpu_family())],
include_directories: [include_directories('.'), include_directories('../../include/')],
+ depend_files: ['XWin.exe.manifest'],
+ depends: x_ico,
)
srcs_windows += rsrc