diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-17 17:57:08 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-04-17 17:57:08 (GMT) |
commit | b4c7f843f96c21b703789a2f765a661c2b955a05 (patch) | |
tree | bf00c0740ed17fd4524ca999e9c9c9ecf73fcafb | |
parent | 9c2894029effa73f678af24bfd7769aaed142369 (diff) | |
download | CMake-b4c7f843f96c21b703789a2f765a661c2b955a05.zip CMake-b4c7f843f96c21b703789a2f765a661c2b955a05.tar.gz CMake-b4c7f843f96c21b703789a2f765a661c2b955a05.tar.bz2 |
ENH: add windows apps to mingw
-rw-r--r-- | Modules/Platform/Windows-gcc.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Platform/Windows-gcc.cmake b/Modules/Platform/Windows-gcc.cmake index 45c72af..b3bf19f 100644 --- a/Modules/Platform/Windows-gcc.cmake +++ b/Modules/Platform/Windows-gcc.cmake @@ -18,6 +18,7 @@ SET(CMAKE_SHARED_LIBRARY_RUNTIME_C_FLAG_SEP "") # : or empty SET(CMAKE_LIBRARY_PATH_FLAG "-L") SET(CMAKE_LINK_LIBRARY_FLAG "-l") SET(CMAKE_EXTRA_LINK_EXTENSIONS ".lib") # MinGW can also link to a MS .lib +SET(CMAKE_CREATE_WIN32_EXE "-mwindows") IF(MINGW) SET(CMAKE_FIND_LIBRARY_PREFIXES "lib" "") |