浏览代码

cmMakefile: Swap parameters of calls to ReadListFile.

The version with a null first parameter is now equivalent.
Stephen Kelly 10 年之前
父节点
当前提交
d21ebcb244
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      Source/cmMakefile.cxx

+ 1 - 1
Source/cmMakefile.cxx

@@ -526,7 +526,7 @@ bool cmMakefile::ProcessBuildsystemFile(const char* listfile)
 {
 {
   this->AddDefinition("CMAKE_PARENT_LIST_FILE", listfile);
   this->AddDefinition("CMAKE_PARENT_LIST_FILE", listfile);
   this->cmCurrentListFile = listfile;
   this->cmCurrentListFile = listfile;
-  return this->ReadListFile(listfile, 0, true,
+  return this->ReadListFile(0, listfile, true,
                             this->cmStartDirectory == this->cmHomeDirectory);
                             this->cmStartDirectory == this->cmHomeDirectory);
 }
 }