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

This commit is contained in:
Bill Hoffman 2006-04-25 08:34:30 -04:00
parent 456f01e35b
commit bb08b88cc4
1 changed files with 1 additions and 0 deletions

View File

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