From 464c4f9f4ed3fd27b69d17c013bbb7b8415b5243 Mon Sep 17 00:00:00 2001 From: arch1t3cht Date: Thu, 9 Feb 2023 01:42:11 +0100 Subject: [PATCH] Add manifest as regen dependency --- meson.build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/meson.build b/meson.build index 767a1c6ed..32d859b0b 100644 --- a/meson.build +++ b/meson.build @@ -338,14 +338,17 @@ aegisub_cpp_pch = ['src/include/agi_pre.h'] aegisub_c_pch = ['src/include/agi_pre_c.h'] link_args = [] +link_depends = [] if host_machine.system() == 'windows' manifest_file = configure_file(copy: true, input: 'src/res/aegisub.exe.manifest', output: 'aegisub.exe.manifest') link_args += ['/MANIFEST:EMBED', '/MANIFESTINPUT:@0@'.format(manifest_file)] + link_depends += manifest_file endif aegisub = executable('aegisub', aegisub_src, version_h, acconf, link_with: [libresrc, libluabins, libaegisub], link_args: link_args, + link_depends: link_depends, include_directories: [libaegisub_inc, libresrc_inc, version_inc, deps_inc, include_directories('src')], cpp_pch: aegisub_cpp_pch, c_pch: aegisub_c_pch,