diff options
author | Brad King <brad.king@kitware.com> | 2006-02-17 01:15:03 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2006-02-17 01:15:03 (GMT) |
commit | 06b6308ab4300008fa3cef009f3fa0f05647fde4 (patch) | |
tree | 75f783744fb97e32d1594117b56aaf3a722fc1a2 /Utilities/Release | |
parent | 8facf1f4069fcf56f2b2baf14211ed39030c4214 (diff) | |
download | CMake-06b6308ab4300008fa3cef009f3fa0f05647fde4.zip CMake-06b6308ab4300008fa3cef009f3fa0f05647fde4.tar.gz CMake-06b6308ab4300008fa3cef009f3fa0f05647fde4.tar.bz2 |
BUG: Do not install MSVC dlls for a non-MSVC build.
Diffstat (limited to 'Utilities/Release')
-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 cda5255..c242724 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 AND NOT CYGWIN) +IF(MSVC) STRING(REGEX REPLACE "\\\\" "/" SYSTEMROOT "$ENV{SYSTEMROOT}") FOREACH(lib "${SYSTEMROOT}/system32/mfc71.dll" @@ -16,7 +16,7 @@ IF(WIN32 AND NOT CYGWIN) ${CMake_INSTALL_SYSTEM_RUNTIME_LIBS} ${lib}) ENDIF(EXISTS ${lib}) ENDFOREACH(lib) -ENDIF(WIN32 AND NOT CYGWIN) +ENDIF(MSVC) # Include system runtime libraries in the installation if any are # specified by CMake_INSTALL_SYSTEM_RUNTIME_LIBS. |