diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index 72aa74cb3..a1b1a94f1 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -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::const_iterator i = lff.Arguments.begin(); i != lff.Arguments.end(); ++i)