diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2003-07-28 17:40:53 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2003-07-28 17:40:53 (GMT) |
commit | f7c9e258aee90eb372825d5ab89057935383e23b (patch) | |
tree | b5071ef08026fe2ae03d89589644c6f269fcf36a | |
parent | fe384ee98083f1d17d481d4a17ce6d853ae4b3ff (diff) | |
download | CMake-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.cxx | 2 |
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"; |