diff --git a/CMake/setup.cmake b/CMake/setup.cmake index bf0e922e0..e89ecc7cc 100644 --- a/CMake/setup.cmake +++ b/CMake/setup.cmake @@ -121,9 +121,6 @@ if (WIN32) endif () set (BORDER_WIDTH 2) endif (MSVC) - if (CMAKE_C_COMPILER_ID STREQUAL GNU) - set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-subsystem,windows") - endif (CMAKE_C_COMPILER_ID STREQUAL GNU) if (MINGW AND EXISTS /mingw) list(APPEND CMAKE_PREFIX_PATH /mingw) endif (MINGW AND EXISTS /mingw)