summaryrefslogtreecommitdiffstats
path: root/Source/cmGeneratorTarget.cxx
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-25 20:18:39 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-25 20:18:39 (GMT)
commitcf0a78dc4ce7debb62ceb4d12235ea75e19bebe2 (patch)
treea009b08affe525bfb671fd40a34bcde9b4bfcb6f /Source/cmGeneratorTarget.cxx
parentcdb9984bff78b8f76c3b8c3f622928e4f29920a1 (diff)
downloadCMake-cf0a78dc4ce7debb62ceb4d12235ea75e19bebe2.zip
CMake-cf0a78dc4ce7debb62ceb4d12235ea75e19bebe2.tar.gz
CMake-cf0a78dc4ce7debb62ceb4d12235ea75e19bebe2.tar.bz2
cmGeneratorTarget: Issue messages through the local generator.
Diffstat (limited to 'Source/cmGeneratorTarget.cxx')
-rw-r--r--Source/cmGeneratorTarget.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmGeneratorTarget.cxx b/Source/cmGeneratorTarget.cxx
index dd58e7b..ffdb54f 100644
--- a/Source/cmGeneratorTarget.cxx
+++ b/Source/cmGeneratorTarget.cxx
@@ -1403,7 +1403,7 @@ cmGeneratorTarget::CompileInfo const* cmGeneratorTarget::GetCompileInfo(
msg += this->GetName();
msg += " which has type ";
msg += cmTarget::GetTargetTypeName(this->Target->GetType());
- this->Makefile->IssueMessage(cmake::INTERNAL_ERROR, msg);
+ this->LocalGenerator->IssueMessage(cmake::INTERNAL_ERROR, msg);
return 0;
}
@@ -2093,7 +2093,7 @@ cmGeneratorTarget::NormalGetRealName(const std::string& config) const
{
std::string msg = "NormalGetRealName called on imported target: ";
msg += this->GetName();
- this->Makefile->IssueMessage(cmake::INTERNAL_ERROR, msg);
+ this->LocalGenerator->IssueMessage(cmake::INTERNAL_ERROR, msg);
}
if(this->GetType() == cmTarget::EXECUTABLE)