enh: windows: hide useless background console

This commit is contained in:
Stéphane Lesimple
2021-06-19 19:49:24 +02:00
parent 36fa2db965
commit 8710519821

5
configure vendored
View File

@@ -54,6 +54,11 @@ fi
WITH_OPTION cli-only no "[yes | no]"
# Remove the useless CLI console under windows
if [[ $(uname) =~ MINGW ]] && [ "$cfg_with_cli_only" != "yes" ]; then
CFG_CFLAGS="$CFG_CFLAGS -mwindows"
fi
# Look for required libraries
PRINT_MESSAGE "\nLooking for includes and libraries:"