Partial fix from bug #10503, use full paths to fix custom commands.

This fixes tests ExternalProject and LinkDirectory for VS 2010.
This commit is contained in:
Bill Hoffman
2010-04-02 14:09:06 -04:00
parent a63dc3271a
commit cf3e42f811
2 changed files with 5 additions and 3 deletions

View File

@@ -169,7 +169,7 @@ cmLocalVisualStudioGenerator
script += newline;
newline = newline_text;
script += "cd ";
script += this->Convert(workingDirectory, START_OUTPUT, SHELL);
script += this->Convert(workingDirectory, FULL, SHELL);
// Change the working drive.
if(workingDirectory[0] && workingDirectory[1] == ':')