Bill Hoffman 20 years ago
parent
commit
75a4712902
2 changed files with 3 additions and 3 deletions
  1. 2 2
      Utilities/Release/Release.cmake
  2. 1 1
      Utilities/Release/cmake_release.sh.in

+ 2 - 2
Utilities/Release/Release.cmake

@@ -4,7 +4,7 @@
 # Search for system runtime libraries based on the platform.  This is
 # Search for system runtime libraries based on the platform.  This is
 # not complete because it is used only for the release process by the
 # not complete because it is used only for the release process by the
 # developers.
 # developers.
-IF(WIN32)
+IF(WIN32 AND NOT CYGWIN)
   STRING(REGEX REPLACE "\\\\" "/" SYSTEMROOT "$ENV{SYSTEMROOT}")
   STRING(REGEX REPLACE "\\\\" "/" SYSTEMROOT "$ENV{SYSTEMROOT}")
   FOREACH(lib
   FOREACH(lib
       "${SYSTEMROOT}/system32/mfc71.dll"
       "${SYSTEMROOT}/system32/mfc71.dll"
@@ -16,7 +16,7 @@ IF(WIN32)
         ${CMake_INSTALL_SYSTEM_RUNTIME_LIBS} ${lib})
         ${CMake_INSTALL_SYSTEM_RUNTIME_LIBS} ${lib})
     ENDIF(EXISTS ${lib})
     ENDIF(EXISTS ${lib})
   ENDFOREACH(lib)
   ENDFOREACH(lib)
-ENDIF(WIN32)
+ENDIF(WIN32 AND NOT CYGWIN)
 
 
 # Include system runtime libraries in the installation if any are
 # Include system runtime libraries in the installation if any are
 # specified by CMake_INSTALL_SYSTEM_RUNTIME_LIBS.
 # specified by CMake_INSTALL_SYSTEM_RUNTIME_LIBS.

+ 1 - 1
Utilities/Release/cmake_release.sh.in

@@ -616,7 +616,7 @@ EOF
 # CMake setup.hint file for cygwin setup.exe program
 # CMake setup.hint file for cygwin setup.exe program
 category: Devel 
 category: Devel 
 requires: libncurses7 cygwin
 requires: libncurses7 cygwin
-sdesc: "A cross platform build manger" 
+sdesc: "A cross platform build manager" 
 ldesc: "CMake is a cross platform build manager. It allows you to specify build parameters for C and C++ programs in a cross platform manner. For cygwin Makefiles will be generated. CMake is also capable of generating microsoft project files, nmake, and borland makefiles. CMake can also perform system inspection operations like finding installed libraries and header files." 
 ldesc: "CMake is a cross platform build manager. It allows you to specify build parameters for C and C++ programs in a cross platform manner. For cygwin Makefiles will be generated. CMake is also capable of generating microsoft project files, nmake, and borland makefiles. CMake can also perform system inspection operations like finding installed libraries and header files." 
 EOF
 EOF
         ) &&
         ) &&