Explorar o código

Give a better message for unused variables

Ben Boeckel %!s(int64=15) %!d(string=hai) anos
pai
achega
8ed3c85c47
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Source/cmake.cxx

+ 1 - 1
Source/cmake.cxx

@@ -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());
           }
           }