ENH: Reduce whitespace in policy warning/error messages.
This commit is contained in:
parent
4cd5a8a690
commit
a313a098d0
|
@ -380,7 +380,7 @@ std::string cmPolicies::GetPolicyWarning(cmPolicies::PolicyID id)
|
||||||
cmOStringStream msg;
|
cmOStringStream msg;
|
||||||
msg <<
|
msg <<
|
||||||
"Policy " << pos->second->IDString << " is not set: "
|
"Policy " << pos->second->IDString << " is not set: "
|
||||||
"" << pos->second->ShortDescription << "\n"
|
"" << pos->second->ShortDescription << " "
|
||||||
"Run \"cmake --help-policy " << pos->second->IDString << "\" for "
|
"Run \"cmake --help-policy " << pos->second->IDString << "\" for "
|
||||||
"policy details. "
|
"policy details. "
|
||||||
"Use the cmake_policy command to set the policy "
|
"Use the cmake_policy command to set the policy "
|
||||||
|
@ -404,7 +404,7 @@ std::string cmPolicies::GetRequiredPolicyError(cmPolicies::PolicyID id)
|
||||||
cmOStringStream error;
|
cmOStringStream error;
|
||||||
error <<
|
error <<
|
||||||
"Policy " << pos->second->IDString << " is not set to NEW: "
|
"Policy " << pos->second->IDString << " is not set to NEW: "
|
||||||
"" << pos->second->ShortDescription << "\n"
|
"" << pos->second->ShortDescription << " "
|
||||||
"Run \"cmake --help-policy " << pos->second->IDString << "\" for "
|
"Run \"cmake --help-policy " << pos->second->IDString << "\" for "
|
||||||
"policy details. "
|
"policy details. "
|
||||||
"CMake now requires this policy to be set to NEW by the project. "
|
"CMake now requires this policy to be set to NEW by the project. "
|
||||||
|
|
Loading…
Reference in New Issue