summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-14 20:35:12 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-15 12:34:05 (GMT)
commitcc7aed77a8774c565c8bc6c4965f10e3560f8d64 (patch)
tree0f1499f6b296559fce64c134aab857f5c8d95839
parentc50285dee66394b68eb3df17d190072289a33a4e (diff)
downloadCMake-cc7aed77a8774c565c8bc6c4965f10e3560f8d64.zip
CMake-cc7aed77a8774c565c8bc6c4965f10e3560f8d64.tar.gz
CMake-cc7aed77a8774c565c8bc6c4965f10e3560f8d64.tar.bz2
cmLocalGenerator: Use own IssueMessage method
-rw-r--r--Source/cmLocalGenerator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 0195b9e..746bcab 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -1608,7 +1608,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::string& linkLibraries,
"For compatibility with older versions of CMake, "
"additional flags may be added to export symbols on all "
"executables regardless of thier ENABLE_EXPORTS property.";
- this->Makefile->IssueMessage(cmake::AUTHOR_WARNING, w.str());
+ this->IssueMessage(cmake::AUTHOR_WARNING, w.str());
}
case cmPolicies::OLD:
// OLD behavior is to always add the flags
@@ -1616,7 +1616,7 @@ void cmLocalGenerator::OutputLinkLibraries(std::string& linkLibraries,
break;
case cmPolicies::REQUIRED_IF_USED:
case cmPolicies::REQUIRED_ALWAYS:
- this->Makefile->IssueMessage(
+ this->IssueMessage(
cmake::FATAL_ERROR,
cmPolicies::GetRequiredPolicyError(cmPolicies::CMP0065)
);