diff --git a/meson.build b/meson.build index 125b9ec..1cb56d1 100644 --- a/meson.build +++ b/meson.build @@ -29,7 +29,7 @@ endif ws2_dep = compiler.find_library('ws2_32', required: false) winmm = compiler.find_library('winmm', required: false) if build_machine.system() == 'windows' - add_global_arguments('-Wl,--subsystem,windows', '-mwindows', language: ['cpp', 'c']) # Prevent opening console when game is run + add_project_arguments('-Wl,--subsystem,windows', '-mwindows', language: ['cpp', 'c']) # Prevent opening console when game is run endif