build: Stop using Meson features deprecated in Meson <0.60

This clears some Meson warnings.

Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
This commit is contained in:
Philip Withnall
2022-05-06 13:16:26 +01:00
parent 374be41433
commit bd1781a356
5 changed files with 13 additions and 13 deletions

View File

@@ -46,7 +46,7 @@ test_extra_programs = {
if host_machine.system() == 'windows'
test_extra_programs += {
'spawn-test-win32-gui' : {'gui_app' : true}
'spawn-test-win32-gui' : {'win_subsystem' : 'windows'}
}
endif
@@ -119,6 +119,6 @@ foreach program_name, extra_args : test_extra_programs
dependencies : common_deps + extra_args.get('dependencies', []),
install_dir : installed_tests_execdir,
install : install,
gui_app : extra_args.get('gui_app', false),
win_subsystem : extra_args.get('win_subsystem', 'console'),
)
endforeach