From 30d44efaf86194271c70f90a8fafa94a7d56f92c Mon Sep 17 00:00:00 2001 From: Stephen Kelly Date: Sat, 4 Jul 2015 12:20:47 +0200 Subject: cmMakefile: Access the execution list file from the cmState. --- Source/cmMakefile.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx index eb26474..08df655 100644 --- a/Source/cmMakefile.cxx +++ b/Source/cmMakefile.cxx @@ -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(); } //---------------------------------------------------------------------------- -- cgit v0.12