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:
parent
fe384ee980
commit
f7c9e258ae
|
@ -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";
|
||||
|
|
Loading…
Reference in New Issue