mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 02:59:22 -05:00
strings: combine string literals where possible
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user