Răsfoiți Sursa

BUG: make sure initial cache file read only reads one file, and does not look for CMakeLists.txt files on the entire disk

Bill Hoffman 22 ani în urmă
părinte
comite
f7c9e258ae
1 a modificat fișierele cu 1 adăugiri și 1 ștergeri
  1. 1 1
      Source/cmake.cxx

+ 1 - 1
Source/cmake.cxx

@@ -226,7 +226,7 @@ void cmake::ReadListFile(const char *path)
     {
     cmLocalGenerator *lg = gg->CreateLocalGenerator();
     lg->SetGlobalGenerator(gg);
-    if (!lg->GetMakefile()->ReadListFile(path))
+    if (!lg->GetMakefile()->ReadListFile(0, path))
       {
       std::cerr << "Error in reading cmake initial cache file:"
                 << path << "\n";