Browse Source

ENH: add the flag for creating windows gui's

Bill Hoffman 19 years ago
parent
commit
f08b1a2c96
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/Platform/CYGWIN.cmake

+ 1 - 1
Modules/Platform/CYGWIN.cmake

@@ -11,7 +11,7 @@ SET(CMAKE_IMPORT_LIBRARY_SUFFIX ".dll.a")
 SET(CMAKE_SHARED_LIBRARY_C_FLAGS "")
 SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "")
 SET(CMAKE_EXECUTABLE_SUFFIX ".exe")          # .exe
-
+SET(CMAKE_CREATE_WIN32_EXE  "-mwindows")
 # Modules have a different default prefix that shared libs.
 SET(CMAKE_MODULE_EXISTS 1)