summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2003-07-28 17:40:53 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2003-07-28 17:40:53 (GMT)
commitf7c9e258aee90eb372825d5ab89057935383e23b (patch)
treeb5071ef08026fe2ae03d89589644c6f269fcf36a
parentfe384ee98083f1d17d481d4a17ce6d853ae4b3ff (diff)
downloadCMake-f7c9e258aee90eb372825d5ab89057935383e23b.zip
CMake-f7c9e258aee90eb372825d5ab89057935383e23b.tar.gz
CMake-f7c9e258aee90eb372825d5ab89057935383e23b.tar.bz2
BUG: make sure initial cache file read only reads one file, and does not look for CMakeLists.txt files on the entire disk
-rw-r--r--Source/cmake.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmake.cxx b/Source/cmake.cxx
index 52197ce..f309005 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";