Fix meson deprecation warning

test/meson.build:663: WARNING: Project targets '>= 1.3.0' but uses feature deprecated since '0.64.0': copy arg in configure_file. Use fs.copyfile instead
This commit is contained in:
Adrian Johnson 2024-06-01 20:40:15 +09:30
parent f0a651e1ac
commit 4f38b502e5

View file

@ -658,9 +658,10 @@ exe = executable('cairo-test-suite', [cairo_test_suite_sources, test_sources, ca
libpdiff_dep],
)
fs = import('fs')
build_dir_files = ['completion.bash', 'index.html', 'testtable.js', 'view-test-results.py']
foreach file : build_dir_files
configure_file(input: file, output : file, copy: true)
fs.copyfile(file)
endforeach
if build_machine.system() != 'windows'