summaryrefslogtreecommitdiffstats
path: root/Source/cmIncludeExternalMSProjectCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2006-05-07 14:55:43 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2006-05-07 14:55:43 (GMT)
commit0c14932ae6c678feb66f16fddf82e48ac1e6769d (patch)
tree5a11eb9bf4ace5cb721bd520bb01ae6f6ad9eb06 /Source/cmIncludeExternalMSProjectCommand.cxx
parentc67d55b2e7e122bb869fe34f5da03785a4f45121 (diff)
downloadCMake-0c14932ae6c678feb66f16fddf82e48ac1e6769d.zip
CMake-0c14932ae6c678feb66f16fddf82e48ac1e6769d.tar.gz
CMake-0c14932ae6c678feb66f16fddf82e48ac1e6769d.tar.bz2
ENH: move changes from main tree and change version to 2.4.2
Diffstat (limited to 'Source/cmIncludeExternalMSProjectCommand.cxx')
-rw-r--r--Source/cmIncludeExternalMSProjectCommand.cxx5
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmIncludeExternalMSProjectCommand.cxx b/Source/cmIncludeExternalMSProjectCommand.cxx
index 03fe69e..7a9248f 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