summaryrefslogtreecommitdiffstats
path: root/Source/cmBorlandMakefileGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-05-08 12:46:55 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-05-08 12:46:55 (GMT)
commitb076138e7d60089588d6add5f4784859494ecdf0 (patch)
tree94737d647f0a08474345ab6cfdcdb336537520d7 /Source/cmBorlandMakefileGenerator.cxx
parent2caeffcb20e2677b0d0cd4797734fe91fb863fe3 (diff)
downloadCMake-b076138e7d60089588d6add5f4784859494ecdf0.zip
CMake-b076138e7d60089588d6add5f4784859494ecdf0.tar.gz
CMake-b076138e7d60089588d6add5f4784859494ecdf0.tar.bz2
BUG: short path does not work on bcc32
Diffstat (limited to 'Source/cmBorlandMakefileGenerator.cxx')
-rw-r--r--Source/cmBorlandMakefileGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmBorlandMakefileGenerator.cxx b/Source/cmBorlandMakefileGenerator.cxx
index 32e76d9..c73d27b 100644
--- a/Source/cmBorlandMakefileGenerator.cxx
+++ b/Source/cmBorlandMakefileGenerator.cxx
@@ -106,11 +106,11 @@ void cmBorlandMakefileGenerator::OutputMakeVariables(std::ostream& fout)
fout << "RM = " << this->ConvertToOutputPath(ccommand.c_str()) << " remove -f\n";
std::string ccompiler = m_Makefile->GetDefinition("CMAKE_C_COMPILER");
fout << "CMAKE_C_COMPILER = "
- << this->ShortPath(ccompiler.c_str())
+ << this->ConvertToOutputPath(ccompiler.c_str())
<< "\n";
std::string cxxcompiler = m_Makefile->GetDefinition("CMAKE_CXX_COMPILER");
fout << "CMAKE_CXX_COMPILER = "
- << this->ShortPath(cxxcompiler.c_str())
+ << this->ConvertToOutputPath(cxxcompiler.c_str())
<< "\n";
if(m_Makefile->GetDefinition("CMAKE_EDIT_COMMAND"))