mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
ENH: LIBPATH is not required for cl to work
This commit is contained in:
@@ -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 "
|
||||
|
||||
Reference in New Issue
Block a user