Workaround a bug in meson 0.43.0 about custom_target's depend_files option.

There is a bug in meson 0.43.0 about the option depend_files
(mesonbuild/meson#2633)

By using the `files('search_result.tmpl')`, we workaround the bug and
have everything working whatever the meson version is.
This commit is contained in:
Matthieu Gautier 2019-01-10 15:59:42 +01:00
parent 550b6df414
commit b9696dceac
1 changed files with 1 additions and 1 deletions

View File

@ -7,5 +7,5 @@ lib_resources = custom_target('resources',
'--hfile', '@OUTPUT1@',
'--source_dir', '@OUTDIR@',
'@INPUT@'],
depend_files: 'static/search_result.tmpl'
depend_files: files('search_result.tmpl')
)