summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-01 10:19:32 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-01 11:07:11 (GMT)
commit12c3f24827d2459154fcc9773b279f96c303e591 (patch)
treedb4b3f68b00068a9960875d539b95432e424b870 /Source/cmMakefile.cxx
parent6c0e9ee276e9e35a970990baec09c0c2c85b3804 (diff)
downloadCMake-12c3f24827d2459154fcc9773b279f96c303e591.zip
CMake-12c3f24827d2459154fcc9773b279f96c303e591.tar.gz
CMake-12c3f24827d2459154fcc9773b279f96c303e591.tar.bz2
cmGeneratorExpressionEvaluationFile: Require generator context.
Avoid storing a cmMakefile as a member, and evaluate in the context of a cmLocalGenerator instead.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 1407888..3e8abbc 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -788,7 +788,7 @@ void cmMakefile::AddEvaluationFile(const std::string& inputFile,
{
this->EvaluationFiles.push_back(
new cmGeneratorExpressionEvaluationFile(inputFile, outputName,
- this, condition,
+ condition,
inputIsContent));
}