diff --git a/Source/cmSourceFileLocation.cxx b/Source/cmSourceFileLocation.cxx index 71c2f8f8e8..ad2f40c89b 100644 --- a/Source/cmSourceFileLocation.cxx +++ b/Source/cmSourceFileLocation.cxx @@ -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) diff --git a/Source/cmTarget.cxx b/Source/cmTarget.cxx index 2f695da07b..53341f7567 100644 --- a/Source/cmTarget.cxx +++ b/Source/cmTarget.cxx @@ -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