mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
strings: combine string literals where possible
This commit is contained in:
@@ -438,7 +438,8 @@ bool cmGlobalVisualStudio10Generator::InitializeSystem(cmMakefile* mf)
|
||||
if (this->PlatformInGeneratorName) {
|
||||
std::ostringstream e;
|
||||
e << "CMAKE_SYSTEM_NAME is 'Android' but CMAKE_GENERATOR "
|
||||
<< "specifies a platform too: '" << this->GetName() << "'";
|
||||
"specifies a platform too: '"
|
||||
<< this->GetName() << "'";
|
||||
mf->IssueMessage(MessageType::FATAL_ERROR, e.str());
|
||||
return false;
|
||||
}
|
||||
@@ -468,7 +469,8 @@ bool cmGlobalVisualStudio10Generator::InitializeWindowsCE(cmMakefile* mf)
|
||||
if (this->PlatformInGeneratorName) {
|
||||
std::ostringstream e;
|
||||
e << "CMAKE_SYSTEM_NAME is 'WindowsCE' but CMAKE_GENERATOR "
|
||||
<< "specifies a platform too: '" << this->GetName() << "'";
|
||||
"specifies a platform too: '"
|
||||
<< this->GetName() << "'";
|
||||
mf->IssueMessage(MessageType::FATAL_ERROR, e.str());
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user