fix warning for Borland build

This commit is contained in:
Sebastien Barre
2001-11-30 17:20:43 -05:00
parent ab46fd164a
commit b180bf609b
6 changed files with 8 additions and 11 deletions
+1 -4
View File
@@ -69,10 +69,7 @@ bool cmBuildCommand::InitialPass(std::vector<std::string> const& args)
makecommand += m_Makefile->GetProjectName();
makecommand += ".dsw /MAKE \"ALL_BUILD - Release\" ";
}
else if(makeprogram.find("Borland") != std::string::npos ||
makeprogram.find("BORLAND") != std::string::npos ||
makeprogram.find("borland") != std::string::npos ||
compiler.find("Borland") != std::string::npos)
else if(m_Makefile->GetDefinition("BORLAND"))
{
makecommand = makeprogram;
makecommand += " -i";