Bläddra i källkod

ENH: make sure command is unix style as it may have been sent into cmake as a windows path

Bill Hoffman 19 år sedan
förälder
incheckning
bb08b88cc4
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      Source/cmTest.cxx

+ 1 - 0
Source/cmTest.cxx

@@ -42,6 +42,7 @@ void cmTest::SetCommand(const char* command)
     command = "";
     }
   this->Command = command;
+  cmSystemTools::ConvertToUnixSlashes(this->Command);
 }
 
 void cmTest::SetArguments(const std::vector<cmStdString>& args)