ENH: LIBPATH is not required for cl to work
This commit is contained in:
parent
bb29c88990
commit
a9bda84ba8
@ -35,8 +35,7 @@ void cmGlobalNMakeMakefileGenerator
|
|||||||
mf->AddDefinition("CMAKE_GENERATOR_CC", "cl");
|
mf->AddDefinition("CMAKE_GENERATOR_CC", "cl");
|
||||||
mf->AddDefinition("CMAKE_GENERATOR_CXX", "cl");
|
mf->AddDefinition("CMAKE_GENERATOR_CXX", "cl");
|
||||||
if(!(cmSystemTools::GetEnv("INCLUDE") &&
|
if(!(cmSystemTools::GetEnv("INCLUDE") &&
|
||||||
cmSystemTools::GetEnv("LIB") &&
|
cmSystemTools::GetEnv("LIB"))
|
||||||
cmSystemTools::GetEnv("LIBPATH"))
|
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
std::string message = "To use the NMake generator, cmake must be run "
|
std::string message = "To use the NMake generator, cmake must be run "
|
||||||
|
Loading…
x
Reference in New Issue
Block a user