summaryrefslogtreecommitdiff
path: root/Source/cmGlobalNMakeMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2009-03-27 11:18:58 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2009-03-27 11:18:58 -0400
commita9bda84ba814f288ebea8a526c94c628abe4bbd4 (patch)
tree3f047b145632eeb4e4f95ca8794ad748dd36699f /Source/cmGlobalNMakeMakefileGenerator.cxx
parentbb29c88990043931aaf8fe963d1dd8cc19fce377 (diff)
downloadcmake-a9bda84ba814f288ebea8a526c94c628abe4bbd4.tar.gz
ENH: LIBPATH is not required for cl to work
Diffstat (limited to 'Source/cmGlobalNMakeMakefileGenerator.cxx')
-rw-r--r--Source/cmGlobalNMakeMakefileGenerator.cxx3
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 "