cmMakefile: Simplify setting of current snapshot.
This commit is contained in:
parent
6083ec9a78
commit
8e7d303077
|
@ -1714,8 +1714,7 @@ public:
|
|||
this->GG = mf->GetGlobalGenerator();
|
||||
this->CurrentMakefile = this->GG->GetCurrentMakefile();
|
||||
this->Snapshot = this->GG->GetCMakeInstance()->GetCurrentSnapshot();
|
||||
this->GG->GetCMakeInstance()->SetCurrentSnapshot(
|
||||
this->GG->GetCMakeInstance()->GetCurrentSnapshot());
|
||||
this->GG->GetCMakeInstance()->SetCurrentSnapshot(this->Snapshot);
|
||||
this->GG->SetCurrentMakefile(mf);
|
||||
#if defined(CMAKE_BUILD_WITH_CMAKE)
|
||||
this->GG->GetFileLockPool().PushFileScope();
|
||||
|
|
Loading…
Reference in New Issue