ENH: convert to windows paths
This commit is contained in:
parent
06cc1cbf2f
commit
5a488fc850
|
@ -164,6 +164,10 @@ int main (int argc, char *argv[])
|
|||
cmSystemTools::ChangeDirectory(cwd.c_str());
|
||||
return 1;
|
||||
}
|
||||
fullPath = cmSystemTools::EscapeSpaces(fullPath.c_str());
|
||||
#if defined(_WIN32) && !defined(__CYGWIN__)
|
||||
cmSystemTools::ConvertToWindowsSlashes(fullPath);
|
||||
#endif
|
||||
if (!cmSystemTools::RunCommand(fullPath.c_str(), output))
|
||||
{
|
||||
std::cerr << "Error: " << fullPath.c_str() << " execution failed\n";
|
||||
|
|
Loading…
Reference in New Issue