strings: combine string literals where possible

This commit is contained in:
Ben Boeckel
2023-07-27 14:39:37 -04:00
parent 3f1378fbca
commit a5ba00bdf8
7 changed files with 31 additions and 20 deletions
+4 -2
View File
@@ -159,7 +159,8 @@ bool cmGlobalVisualStudio12Generator::InitializeWindowsPhone(cmMakefile* mf)
<< this->SystemVersion << "'. Check CMAKE_SYSTEM_VERSION.";
} else {
e << "A Windows Phone component with CMake requires both the Windows "
<< "Desktop SDK as well as the Windows Phone '" << this->SystemVersion
"Desktop SDK as well as the Windows Phone '"
<< this->SystemVersion
<< "' SDK. Please make sure that you have both installed";
}
mf->IssueMessage(MessageType::FATAL_ERROR, e.str());
@@ -179,7 +180,8 @@ bool cmGlobalVisualStudio12Generator::InitializeWindowsStore(cmMakefile* mf)
<< this->SystemVersion << "'. Check CMAKE_SYSTEM_VERSION.";
} else {
e << "A Windows Store component with CMake requires both the Windows "
<< "Desktop SDK as well as the Windows Store '" << this->SystemVersion
"Desktop SDK as well as the Windows Store '"
<< this->SystemVersion
<< "' SDK. Please make sure that you have both installed";
}
mf->IssueMessage(MessageType::FATAL_ERROR, e.str());