diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-03 23:03:53 -0400 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2006-05-03 23:03:53 -0400 |
commit | 3e6a1f9afa359fc9af442d9e9173dafd24ddf151 (patch) | |
tree | 6b76a17e19d2634023d09ea6559ad8f284917003 /Source/cmIncludeExternalMSProjectCommand.cxx | |
parent | d4e84f8c5b0deea6d1559a0894662965ff9b7edc (diff) | |
download | cmake-3e6a1f9afa359fc9af442d9e9173dafd24ddf151.tar.gz |
ENH: make sure path is converted to unix
Diffstat (limited to 'Source/cmIncludeExternalMSProjectCommand.cxx')
-rw-r--r-- | Source/cmIncludeExternalMSProjectCommand.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmIncludeExternalMSProjectCommand.cxx b/Source/cmIncludeExternalMSProjectCommand.cxx index 03fe69ee0c..7a9248ff90 100644 --- a/Source/cmIncludeExternalMSProjectCommand.cxx +++ b/Source/cmIncludeExternalMSProjectCommand.cxx @@ -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 |