diff options
Diffstat (limited to 'Utilities/Release/Release.cmake')
-rw-r--r-- | Utilities/Release/Release.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Utilities/Release/Release.cmake b/Utilities/Release/Release.cmake index 9f4da82..cda5255 100644 --- a/Utilities/Release/Release.cmake +++ b/Utilities/Release/Release.cmake @@ -4,7 +4,7 @@ # Search for system runtime libraries based on the platform. This is # not complete because it is used only for the release process by the # developers. -IF(WIN32) +IF(WIN32 AND NOT CYGWIN) STRING(REGEX REPLACE "\\\\" "/" SYSTEMROOT "$ENV{SYSTEMROOT}") FOREACH(lib "${SYSTEMROOT}/system32/mfc71.dll" @@ -16,7 +16,7 @@ IF(WIN32) ${CMake_INSTALL_SYSTEM_RUNTIME_LIBS} ${lib}) ENDIF(EXISTS ${lib}) ENDFOREACH(lib) -ENDIF(WIN32) +ENDIF(WIN32 AND NOT CYGWIN) # Include system runtime libraries in the installation if any are # specified by CMake_INSTALL_SYSTEM_RUNTIME_LIBS. |