Browse Source

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

Bill Hoffman 20 years ago
parent
commit
bb08b88cc4
1 changed files with 1 additions and 0 deletions
  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)