summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-06 01:49:02 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-06 01:49:02 (GMT)
commitf08b1a2c968ee2bdb010229da2ce129bbba4856b (patch)
tree151e44634c18ec8c1eb57f5e01378a117baf6fff
parent51a84aaa57b59c3068df395ce036cafa7b8dc414 (diff)
downloadCMake-f08b1a2c968ee2bdb010229da2ce129bbba4856b.zip
CMake-f08b1a2c968ee2bdb010229da2ce129bbba4856b.tar.gz
CMake-f08b1a2c968ee2bdb010229da2ce129bbba4856b.tar.bz2
ENH: add the flag for creating windows gui's
-rw-r--r--Modules/Platform/CYGWIN.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/Platform/CYGWIN.cmake b/Modules/Platform/CYGWIN.cmake
index 5419527..c7ccd98 100644
--- a/Modules/Platform/CYGWIN.cmake
+++ b/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)