From 3e6a1f9afa359fc9af442d9e9173dafd24ddf151 Mon Sep 17 00:00:00 2001 From: Bill Hoffman Date: Wed, 3 May 2006 23:03:53 -0400 Subject: [PATCH] ENH: make sure path is converted to unix --- Source/cmIncludeExternalMSProjectCommand.cxx | 5 +++-- 1 file 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 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