From a1d1b9662e9165f4b9f1d1ad66eaf5574e48a82b Mon Sep 17 00:00:00 2001 From: emb <> Date: Mon, 23 Feb 2015 23:18:11 -0600 Subject: [PATCH] Removing console window when starting retrofe for mingw. --- RetroFE/Source/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RetroFE/Source/CMakeLists.txt b/RetroFE/Source/CMakeLists.txt index e22eb55..5005c6f 100644 --- a/RetroFE/Source/CMakeLists.txt +++ b/RetroFE/Source/CMakeLists.txt @@ -180,7 +180,7 @@ add_definitions(-DRETROFE_VERSION_MINOR=${VERSION_MINOR}) add_definitions(-DRETROFE_VERSION_BUILD=${VERSION_BUILD}) if(MINGW) - set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++") + set(CMAKE_EXE_LINKER_FLAGS "-static-libgcc -static-libstdc++ -mwindows") endif() if(MSVC)