From cfda73f86ab0e4eb4f73ceaa48f53225b4054214 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Thu, 30 Jun 2005 11:33:48 -0400 Subject: [PATCH] ENH: hard coded for VS 71 nmake for now --- Utilities/Release/Release.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Utilities/Release/Release.cmake b/Utilities/Release/Release.cmake index b1acd6843..7f7ca8620 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(CMAKE_GENERATOR MATCHES "^Visual Studio 7 .NET 2003$") +IF(WIN32) STRING(REGEX REPLACE "\\\\" "/" SYSTEMROOT "$ENV{SYSTEMROOT}") FOREACH(lib "${SYSTEMROOT}/system32/msvcp71.dll" @@ -15,7 +15,7 @@ IF(CMAKE_GENERATOR MATCHES "^Visual Studio 7 .NET 2003$") ${CMake_INSTALL_SYSTEM_RUNTIME_LIBS} ${lib}) ENDIF(EXISTS ${lib}) ENDFOREACH(lib) -ENDIF(CMAKE_GENERATOR MATCHES "^Visual Studio 7 .NET 2003$") +ENDIF(WIN32) # Include system runtime libraries in the installation if any are # specified by CMake_INSTALL_SYSTEM_RUNTIME_LIBS.