diff options
Diffstat (limited to 'Source/cmBuildCommand.cxx')
-rw-r--r-- | Source/cmBuildCommand.cxx | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Source/cmBuildCommand.cxx b/Source/cmBuildCommand.cxx index a778883..bc4bcba 100644 --- a/Source/cmBuildCommand.cxx +++ b/Source/cmBuildCommand.cxx @@ -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"; |