summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Source/cmSystemTools.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx
index fece05c..6982dda 100644
--- a/Source/cmSystemTools.cxx
+++ b/Source/cmSystemTools.cxx
@@ -1206,6 +1206,7 @@ std::string cmSystemTools::CollapseFullPath(const char* in_name)
# endif
# endif
realpath(dir.c_str(), resolved_name);
+ dir = resolved_name;
return dir + "/" + file;
#endif
}