Browse Source

ENH: LIBPATH is not required for cl to work

Bill Hoffman 16 years ago
parent
commit
a9bda84ba8
1 changed files with 1 additions and 2 deletions
  1. 1 2
      Source/cmGlobalNMakeMakefileGenerator.cxx

+ 1 - 2
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 "