summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-07-04 10:20:47 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-07-05 23:37:17 (GMT)
commit30d44efaf86194271c70f90a8fafa94a7d56f92c (patch)
treeda8cf54b32ccabc469b3ac8334e2a3d6d14f9781
parent6361f680568c81e0391fa56cf9a7f4637bd745dc (diff)
downloadCMake-30d44efaf86194271c70f90a8fafa94a7d56f92c.zip
CMake-30d44efaf86194271c70f90a8fafa94a7d56f92c.tar.gz
CMake-30d44efaf86194271c70f90a8fafa94a7d56f92c.tar.bz2
cmMakefile: Access the execution list file from the cmState.
-rw-r--r--Source/cmMakefile.cxx3
1 files changed, 2 insertions, 1 deletions
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();
}
//----------------------------------------------------------------------------