summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmLocalGenerator.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmLocalGenerator.cxx b/Source/cmLocalGenerator.cxx
index 4285048..fa4f3d8 100644
--- a/Source/cmLocalGenerator.cxx
+++ b/Source/cmLocalGenerator.cxx
@@ -396,7 +396,7 @@ std::string cmLocalGenerator::ConvertToRelativeOutputPath(const char* p)
(pathIn[0] != '/' && pathIn[1] != ':') ||
pathIn.find("..") == 0)
{
- return pathIn;
+ return cmSystemTools::ConvertToOutputPath(p);
}
// do not use relative paths for network build trees