summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-18 19:39:15 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-05-18 21:55:43 (GMT)
commitf9785e0cb6c823849bb344e487d9e70d9fdaddb4 (patch)
treed7ab3a0cab0148e11fdc45db05262724950b6dfe /Source/cmMakefile.cxx
parente17b5e426294dc5cc86ba31dfd4d4acc553c0c72 (diff)
downloadCMake-f9785e0cb6c823849bb344e487d9e70d9fdaddb4.zip
CMake-f9785e0cb6c823849bb344e487d9e70d9fdaddb4.tar.gz
CMake-f9785e0cb6c823849bb344e487d9e70d9fdaddb4.tar.bz2
cmMakefile: Simplify CMP0054 handling.
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 4de3bcd..33b7a0b 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -4941,10 +4941,9 @@ bool cmMakefile::SetPolicyVersion(const char *version)
}
//----------------------------------------------------------------------------
-bool cmMakefile::HasCMP0054AlreadyBeenReported(
- cmListFileContext context) const
+bool cmMakefile::HasCMP0054AlreadyBeenReported() const
{
- cmCMP0054Id id(context);
+ cmCMP0054Id id(this->GetExecutionContext());
bool alreadyReported =
this->CMP0054ReportedIds.find(id) != this->CMP0054ReportedIds.end();