summaryrefslogtreecommitdiff
path: root/Source/cmLocalVisualStudioGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2010-04-02 14:09:06 -0400
committerBill Hoffman <bill.hoffman@kitware.com>2010-04-02 14:09:06 -0400
commitcf3e42f811e63d430557d0f4d659ea3a9bc69d4e (patch)
tree69e307f83989ecc24afd478be17ecbf8f6750272 /Source/cmLocalVisualStudioGenerator.cxx
parenta63dc3271aa89b954101ec5472ef3fc3ec856507 (diff)
downloadcmake-cf3e42f811e63d430557d0f4d659ea3a9bc69d4e.tar.gz
Partial fix from bug #10503, use full paths to fix custom commands.
This fixes tests ExternalProject and LinkDirectory for VS 2010.
Diffstat (limited to 'Source/cmLocalVisualStudioGenerator.cxx')
-rw-r--r--Source/cmLocalVisualStudioGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalVisualStudioGenerator.cxx b/Source/cmLocalVisualStudioGenerator.cxx
index f3ed5b6a79..ed0b07fe13 100644
--- a/Source/cmLocalVisualStudioGenerator.cxx
+++ b/Source/cmLocalVisualStudioGenerator.cxx
@@ -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] == ':')