STYLE: Fix line-too-long for new INTERNAL_ERROR messages.
This commit is contained in:
parent
204a70cff8
commit
133e5b5dd8
|
@ -173,12 +173,12 @@ bool cmSourceFileLocation::Matches(cmSourceFileLocation const& loc)
|
|||
// Each side has a directory relative to a different location.
|
||||
// This can occur when referencing a source file from a different
|
||||
// directory. This is not yet allowed.
|
||||
this->Makefile->
|
||||
IssueMessage(cmake::INTERNAL_ERROR,
|
||||
"Matches error: Each side has a directory relative to a different"
|
||||
" location. This can occur when referencing a "
|
||||
"source file from a different directory. "
|
||||
"This is not yet allowed.");
|
||||
this->Makefile->IssueMessage(
|
||||
cmake::INTERNAL_ERROR,
|
||||
"Matches error: Each side has a directory relative to a different "
|
||||
"location. This can occur when referencing a source file from a "
|
||||
"different directory. This is not yet allowed."
|
||||
);
|
||||
return false;
|
||||
}
|
||||
else if(this->AmbiguousDirectory)
|
||||
|
|
|
@ -2586,11 +2586,10 @@ void cmTarget::GetExecutableNamesInternal(std::string& name,
|
|||
// enforcement of the limited imported target API.
|
||||
if(this->IsImported())
|
||||
{
|
||||
std::string msg = "GetExecutableNamesInternal called on imported target: ";
|
||||
std::string msg =
|
||||
"GetExecutableNamesInternal called on imported target: ";
|
||||
msg += this->GetName();
|
||||
this->GetMakefile()->
|
||||
IssueMessage(cmake::INTERNAL_ERROR,
|
||||
msg.c_str());
|
||||
this->GetMakefile()->IssueMessage(cmake::INTERNAL_ERROR, msg.c_str());
|
||||
}
|
||||
|
||||
// This versioning is supported only for executables and then only
|
||||
|
|
Loading…
Reference in New Issue