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.
|
// Each side has a directory relative to a different location.
|
||||||
// This can occur when referencing a source file from a different
|
// This can occur when referencing a source file from a different
|
||||||
// directory. This is not yet allowed.
|
// directory. This is not yet allowed.
|
||||||
this->Makefile->
|
this->Makefile->IssueMessage(
|
||||||
IssueMessage(cmake::INTERNAL_ERROR,
|
cmake::INTERNAL_ERROR,
|
||||||
"Matches error: Each side has a directory relative to a different "
|
"Matches error: Each side has a directory relative to a different "
|
||||||
" location. This can occur when referencing a "
|
"location. This can occur when referencing a source file from a "
|
||||||
"source file from a different directory. "
|
"different directory. This is not yet allowed."
|
||||||
"This is not yet allowed.");
|
);
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else if(this->AmbiguousDirectory)
|
else if(this->AmbiguousDirectory)
|
||||||
|
|
|
@ -2586,11 +2586,10 @@ void cmTarget::GetExecutableNamesInternal(std::string& name,
|
||||||
// enforcement of the limited imported target API.
|
// enforcement of the limited imported target API.
|
||||||
if(this->IsImported())
|
if(this->IsImported())
|
||||||
{
|
{
|
||||||
std::string msg = "GetExecutableNamesInternal called on imported target: ";
|
std::string msg =
|
||||||
|
"GetExecutableNamesInternal called on imported target: ";
|
||||||
msg += this->GetName();
|
msg += this->GetName();
|
||||||
this->GetMakefile()->
|
this->GetMakefile()->IssueMessage(cmake::INTERNAL_ERROR, msg.c_str());
|
||||||
IssueMessage(cmake::INTERNAL_ERROR,
|
|
||||||
msg.c_str());
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// This versioning is supported only for executables and then only
|
// This versioning is supported only for executables and then only
|
||||||
|
|
Loading…
Reference in New Issue