cmMakefile: Access the execution list file from the cmState.

This commit is contained in:
Stephen Kelly 2015-07-04 12:20:47 +02:00
parent 6361f68056
commit 30d44efaf8
1 changed files with 2 additions and 1 deletions

View File

@ -3418,7 +3418,8 @@ std::string cmMakefile::GetExecutionFilePath() const
{
return std::string();
}
return this->ContextStack.back()->FilePath;
assert(this->StateSnapshot.IsValid());
return this->StateSnapshot.GetExecutionListFile();
}
//----------------------------------------------------------------------------