From a9bda84ba814f288ebea8a526c94c628abe4bbd4 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Fri, 27 Mar 2009 11:18:58 -0400 Subject: [PATCH] ENH: LIBPATH is not required for cl to work --- Source/cmGlobalNMakeMakefileGenerator.cxx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Source/cmGlobalNMakeMakefileGenerator.cxx b/Source/cmGlobalNMakeMakefileGenerator.cxx index c35391604e..87e7570699 100644 --- a/Source/cmGlobalNMakeMakefileGenerator.cxx +++ b/Source/cmGlobalNMakeMakefileGenerator.cxx @@ -35,8 +35,7 @@ void cmGlobalNMakeMakefileGenerator mf->AddDefinition("CMAKE_GENERATOR_CC", "cl"); mf->AddDefinition("CMAKE_GENERATOR_CXX", "cl"); if(!(cmSystemTools::GetEnv("INCLUDE") && - cmSystemTools::GetEnv("LIB") && - cmSystemTools::GetEnv("LIBPATH")) + cmSystemTools::GetEnv("LIB")) ) { std::string message = "To use the NMake generator, cmake must be run "