diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-03-27 11:18:58 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-03-27 11:18:58 -0400 |
commit | a9bda84ba814f288ebea8a526c94c628abe4bbd4 (patch) | |
tree | 3f047b145632eeb4e4f95ca8794ad748dd36699f | |
parent | bb29c88990043931aaf8fe963d1dd8cc19fce377 (diff) | |
download | cmake-a9bda84ba814f288ebea8a526c94c628abe4bbd4.tar.gz |
ENH: LIBPATH is not required for cl to work
-rw-r--r-- | Source/cmGlobalNMakeMakefileGenerator.cxx | 3 |
1 files changed, 1 insertions, 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 " |