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

This commit is contained in:
Bill Hoffman 2003-07-28 13:40:53 -04:00
parent fe384ee980
commit f7c9e258ae
1 changed files with 1 additions and 1 deletions

View File

@ -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";