mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 21:31:08 -06:00
cmMakefile: Simplify setting of current snapshot.
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user