ENH: LIBPATH is not required for cl to work

This commit is contained in:
Bill Hoffman 2009-03-27 11:18:58 -04:00
parent bb29c88990
commit a9bda84ba8
1 changed files with 1 additions and 2 deletions

View File

@ -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 "