summaryrefslogtreecommitdiffstats
path: root/Source/cmBuildCommand.cxx
diff options
context:
space:
mode:
authorSebastien Barre <sebastien.barre@kitware.com>2001-11-30 22:20:43 (GMT)
committerSebastien Barre <sebastien.barre@kitware.com>2001-11-30 22:20:43 (GMT)
commitb180bf609b546ba56e44dffe461bd8c95d7c10d7 (patch)
treef6ee8065ad0de871cc077095d44bdc5aca68fdb6 /Source/cmBuildCommand.cxx
parentab46fd164ac4713f957533ee2016eab2e3d6eb80 (diff)
downloadCMake-b180bf609b546ba56e44dffe461bd8c95d7c10d7.zip
CMake-b180bf609b546ba56e44dffe461bd8c95d7c10d7.tar.gz
CMake-b180bf609b546ba56e44dffe461bd8c95d7c10d7.tar.bz2
fix warning for Borland build
Diffstat (limited to 'Source/cmBuildCommand.cxx')
-rw-r--r--Source/cmBuildCommand.cxx5
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";