Give a better message for unused variables

This commit is contained in:
Ben Boeckel 2011-01-13 17:32:33 -05:00
parent 729db484ef
commit 8ed3c85c47
1 changed files with 1 additions and 1 deletions

View File

@ -4321,7 +4321,7 @@ void cmake::RunCheckForUnusedVariables(const std::string& reason) const
if(!it->second) if(!it->second)
{ {
std::string message = "CMake Warning: The variable, '" + it->first + std::string message = "CMake Warning: The variable, '" + it->first +
"', given on the command line, was not used during the " + reason + "', specified manually, was not used during the " + reason +
"."; ".";
cmSystemTools::Message(message.c_str()); cmSystemTools::Message(message.c_str());
} }