mirror of
https://github.com/reactos/CMake.git
synced 2024-12-16 08:07:29 +00:00
cmGeneratorTarget: Issue messages through the local generator.
This commit is contained in:
parent
cdb9984bff
commit
cf0a78dc4c
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user