ENH: make sure path is converted to unix

This commit is contained in:
Bill Hoffman 2006-05-03 23:03:53 -04:00
parent d4e84f8c5b
commit 3e6a1f9afa
1 changed files with 3 additions and 2 deletions

View File

@ -42,13 +42,14 @@ bool cmIncludeExternalMSProjectCommand::InitialPass(std::vector<std::string> con
std::string utility_name("INCLUDE_EXTERNAL_MSPROJECT");
utility_name += "_";
utility_name += args[0];
std::string path = args[1];
cmSystemTools::ConvertToUnixSlashes(path);
const char* no_output = 0;
const char* no_working_directory = 0;
this->Makefile->AddUtilityCommand(utility_name.c_str(), true,
no_output, depends,
no_working_directory,
args[0].c_str(), args[1].c_str());
args[0].c_str(), path.c_str());
}
#endif