BUG: short path does not work on bcc32

This commit is contained in:
Bill Hoffman 2002-05-08 08:46:55 -04:00
parent 2caeffcb20
commit b076138e7d
1 changed files with 2 additions and 2 deletions

View File

@ -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"))