better error message

This commit is contained in:
Bill Hoffman 2003-03-14 15:06:56 -05:00
parent 0f89043568
commit 4b45a5ef9a
1 changed files with 1 additions and 3 deletions

View File

@ -80,7 +80,7 @@ int cmGlobalVisualStudio6Generator::TryCompile(const char *,
makeCommand = cmSystemTools::FindProgram(makeCommand.c_str(), mp); makeCommand = cmSystemTools::FindProgram(makeCommand.c_str(), mp);
if(makeCommand.size() == 0) if(makeCommand.size() == 0)
{ {
std::string e = "Generator cannot find make program \""; std::string e = "Generator cannot find Visual Studio 6 msdev program \"";
e += originalCommand; e += originalCommand;
e += "\" specified by CMAKE_MAKE_PROGRAM cache entry. "; e += "\" specified by CMAKE_MAKE_PROGRAM cache entry. ";
e += "Please fix the setting."; e += "Please fix the setting.";
@ -88,8 +88,6 @@ int cmGlobalVisualStudio6Generator::TryCompile(const char *,
return 1; return 1;
} }
makeCommand = cmSystemTools::ConvertToOutputPath(makeCommand.c_str()); makeCommand = cmSystemTools::ConvertToOutputPath(makeCommand.c_str());
std::string lowerCaseCommand = makeCommand;
cmSystemTools::LowerCase(lowerCaseCommand);
/** /**
* Run an executable command and put the stdout in output. * Run an executable command and put the stdout in output.