From d589a7746d537bc5d26937b439194683ece6db9d Mon Sep 17 00:00:00 2001 From: Stepland <10530295-Buggyroom@users.noreply.gitlab.com> Date: Fri, 28 Jul 2023 13:48:13 +0200 Subject: [PATCH] Try using -mwindows --- meson.build | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 64e3445..7b045a6 100644 --- a/meson.build +++ b/meson.build @@ -52,6 +52,10 @@ foreach lib, lib_sources : include_sources sources += lib_sources endforeach +if target_machine.system() == 'windows' + add_project_arguments('-mwindows', language : 'cpp') +endif + executable( 'FEIS', sources: sources, @@ -60,5 +64,4 @@ executable( inc, configuration_inc, ], - cpp_args: ['-march=native'], )