cmPolicies: use character literals where possible

This commit is contained in:
Ben Boeckel
2023-07-24 13:46:33 -04:00
parent 0cb4f08ddf
commit 0c8a2c4a86

View File

@@ -123,10 +123,10 @@ static void DiagnoseAncientPolicies(
{
std::ostringstream e;
e << "The project requests behavior compatible with CMake version \""
<< majorVer << "." << minorVer << "." << patchVer
<< majorVer << '.' << minorVer << '.' << patchVer
<< "\", which requires the OLD behavior for some policies:\n";
for (cmPolicies::PolicyID i : ancient) {
e << " " << idToString(i) << ": " << idToShortDescription(i) << "\n";
e << " " << idToString(i) << ": " << idToShortDescription(i) << '\n';
}
e << "However, this version of CMake no longer supports the OLD "
"behavior for these policies. "