1
0
Эх сурвалжийг харах

Lowercase has a bad signiture, so I have to live with it

Ken Martin 23 жил өмнө
parent
commit
04d604ec89

+ 1 - 2
Source/cmaketest.cxx

@@ -172,8 +172,7 @@ int do_cmaketest (int argc, char **argv)
     std::cerr << "Error: cmaketest does not have a valid MAKEPROGRAM\n";
     std::cerr << "Error: cmaketest does not have a valid MAKEPROGRAM\n";
     }
     }
   makeCommand = cmSystemTools::ConvertToOutputPath(makeCommand.c_str());
   makeCommand = cmSystemTools::ConvertToOutputPath(makeCommand.c_str());
-  std::string lowerCaseCommand = makeCommand;
-  cmSystemTools::LowerCase(lowerCaseCommand);
+  std::string lowerCaseCommand = cmSystemTools::LowerCase(makeCommand);
   // if msdev is the make program then do the following
   // if msdev is the make program then do the following
   // MSDEV 6.0
   // MSDEV 6.0
   if(lowerCaseCommand.find("msdev") != std::string::npos)
   if(lowerCaseCommand.find("msdev") != std::string::npos)