diff options
-rw-r--r-- | CMakeLists.txt.mingw | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt.mingw b/CMakeLists.txt.mingw index 0bf2553..118d5c0 100644 --- a/CMakeLists.txt.mingw +++ b/CMakeLists.txt.mingw @@ -1,4 +1,6 @@ #ADD_DEFINITIONS(-DUSE_DOTNET_STYLE) +set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -mwindows") +set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -mwindows") if(FQTERM_USE_STATIC_QT) ADD_DEFINITIONS(-DFQTERM_USE_STATIC_QT) |