diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-03-27 15:18:58 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-03-27 15:18:58 (GMT) |
commit | a9bda84ba814f288ebea8a526c94c628abe4bbd4 (patch) | |
tree | 3f047b145632eeb4e4f95ca8794ad748dd36699f /Source/cmGlobalNMakeMakefileGenerator.cxx | |
parent | bb29c88990043931aaf8fe963d1dd8cc19fce377 (diff) | |
download | CMake-a9bda84ba814f288ebea8a526c94c628abe4bbd4.zip CMake-a9bda84ba814f288ebea8a526c94c628abe4bbd4.tar.gz CMake-a9bda84ba814f288ebea8a526c94c628abe4bbd4.tar.bz2 |
ENH: LIBPATH is not required for cl to work
Diffstat (limited to 'Source/cmGlobalNMakeMakefileGenerator.cxx')
-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 c353916..87e7570 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 " |