diff options
author | Brad King <brad.king@kitware.com> | 2008-03-13 19:01:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2008-03-13 19:01:58 (GMT) |
commit | a313a098d0e444c67702a0e4f0c8b0ed145e3269 (patch) | |
tree | 95c7364bd566ae8419071cfdc72afc425b862376 | |
parent | 4cd5a8a69030151596d28c3a54fee60eef789f1b (diff) | |
download | CMake-a313a098d0e444c67702a0e4f0c8b0ed145e3269.zip CMake-a313a098d0e444c67702a0e4f0c8b0ed145e3269.tar.gz CMake-a313a098d0e444c67702a0e4f0c8b0ed145e3269.tar.bz2 |
ENH: Reduce whitespace in policy warning/error messages.
-rw-r--r-- | Source/cmPolicies.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmPolicies.cxx b/Source/cmPolicies.cxx index f3b905f..6d59bfe 100644 --- a/Source/cmPolicies.cxx +++ b/Source/cmPolicies.cxx @@ -380,7 +380,7 @@ std::string cmPolicies::GetPolicyWarning(cmPolicies::PolicyID id) cmOStringStream msg; msg << "Policy " << pos->second->IDString << " is not set: " - "" << pos->second->ShortDescription << "\n" + "" << pos->second->ShortDescription << " " "Run \"cmake --help-policy " << pos->second->IDString << "\" for " "policy details. " "Use the cmake_policy command to set the policy " @@ -404,7 +404,7 @@ std::string cmPolicies::GetRequiredPolicyError(cmPolicies::PolicyID id) cmOStringStream error; error << "Policy " << pos->second->IDString << " is not set to NEW: " - "" << pos->second->ShortDescription << "\n" + "" << pos->second->ShortDescription << " " "Run \"cmake --help-policy " << pos->second->IDString << "\" for " "policy details. " "CMake now requires this policy to be set to NEW by the project. " |