cmMakefile: Use GetExecutionFileStack method.

This commit is contained in:
Stephen Kelly 2015-06-13 19:18:28 +02:00
parent 076760a63c
commit a863c59f70

View File

@ -308,7 +308,7 @@ cmListFileContext cmMakefile::GetExecutionContext() const
void cmMakefile::PrintCommandTrace(const cmListFileFunction& lff) const
{
std::ostringstream msg;
msg << lff.FilePath << "(" << lff.Line << "): ";
msg << this->GetExecutionFilePath() << "(" << lff.Line << "): ";
msg << lff.Name << "(";
for(std::vector<cmListFileArgument>::const_iterator i =
lff.Arguments.begin(); i != lff.Arguments.end(); ++i)