From b08a151722ecb23383079f27389313f34ceba6cd Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Tue, 3 Jan 2006 14:00:48 -0500 Subject: ENH: add exe stuff for cygwin --- Modules/Platform/CYGWIN-g77.cmake | 1 + Modules/Platform/CYGWIN.cmake | 1 + 2 files changed, 2 insertions(+) diff --git a/Modules/Platform/CYGWIN-g77.cmake b/Modules/Platform/CYGWIN-g77.cmake index f3c1665..942319f 100644 --- a/Modules/Platform/CYGWIN-g77.cmake +++ b/Modules/Platform/CYGWIN-g77.cmake @@ -2,4 +2,5 @@ SET(CMAKE_SHARED_LIBRARY_PREFIX "lib") SET(CMAKE_SHARED_LIBRARY_SUFFIX ".dll") SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "") SET(CMAKE_SHARED_LIBRARY_Fortran_FLAGS "") +SET(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe INCLUDE(Platform/g77) diff --git a/Modules/Platform/CYGWIN.cmake b/Modules/Platform/CYGWIN.cmake index 78a53ce..7fd6615 100644 --- a/Modules/Platform/CYGWIN.cmake +++ b/Modules/Platform/CYGWIN.cmake @@ -5,3 +5,4 @@ SET(CMAKE_SHARED_LIBRARY_SUFFIX ".dll") # no pic for gcc on cygwin SET(CMAKE_SHARED_LIBRARY_C_FLAGS "") SET(CMAKE_SHARED_LIBRARY_CXX_FLAGS "") +SET(CMAKE_EXECUTABLE_SUFFIX ".exe") # .exe -- cgit v0.12