浏览代码

cmMakefile: Use GetExecutionFileStack method.

Stephen Kelly 10 年之前
父节点
当前提交
a863c59f70
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmMakefile.cxx

+ 1 - 1
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<cmListFileArgument>::const_iterator i =
         lff.Arguments.begin(); i != lff.Arguments.end(); ++i)