From f7c9e258aee90eb372825d5ab89057935383e23b Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Mon, 28 Jul 2003 13:40:53 -0400 Subject: [PATCH] BUG: make sure initial cache file read only reads one file, and does not look for CMakeLists.txt files on the entire disk --- Source/cmake.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/cmake.cxx b/Source/cmake.cxx index 52197cecb..f309005ca 100644 --- a/Source/cmake.cxx +++ b/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";