mirror of
https://gitlab.kitware.com/cmake/cmake.git
synced 2026-10-05 04:03:22 +03:00
cmMakefile: Move IncludeScope.
This commit is contained in:
1 parent
3404f8a081
commit
c10ab01434
1 file changed
+2
-1
@@ -561,14 +561,15 @@ bool cmMakefile::ReadDependentFile(const char* filename, bool noPolicyScope)
|
||||
cmSystemTools::CollapseFullPath(filename,
|
||||
this->GetCurrentSourceDirectory());
|
||||
|
||||
IncludeScope incScope(this, noPolicyScope);
|
||||
this->ListFileStack.push_back(filenametoread);
|
||||
|
||||
cmListFile listFile;
|
||||
if (!listFile.ParseFile(filenametoread.c_str(), false, this))
|
||||
{
|
||||
incScope.Quiet();
|
||||
return false;
|
||||
}
|
||||
IncludeScope incScope(this, noPolicyScope);
|
||||
this->ReadListFile(listFile, filenametoread);
|
||||
if(cmSystemTools::GetFatalErrorOccured())
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user