mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-03 12:49:50 -05:00
cmLocalGenerator: Always return the end snapshot state of a directory.
This is needed for proper makefile progress tracking. The cmLocalGenerator is constructed at configure-time, but only used at generate time. The StateSnapshot member is currently populated before configuring, so use the Makefile to get the end snapshot.
This commit is contained in:
@@ -487,7 +487,7 @@ cmState* cmLocalGenerator::GetState() const
|
||||
|
||||
cmState::Snapshot cmLocalGenerator::GetStateSnapshot() const
|
||||
{
|
||||
return this->StateSnapshot;
|
||||
return this->Makefile->GetStateSnapshot();
|
||||
}
|
||||
|
||||
// List of variables that are replaced when
|
||||
|
||||
Reference in New Issue
Block a user