diff options
Diffstat (limited to 'Source/cmGetFilenameComponentCommand.cxx')
-rw-r--r-- | Source/cmGetFilenameComponentCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGetFilenameComponentCommand.cxx b/Source/cmGetFilenameComponentCommand.cxx index d06efe8..81d019b 100644 --- a/Source/cmGetFilenameComponentCommand.cxx +++ b/Source/cmGetFilenameComponentCommand.cxx @@ -91,7 +91,8 @@ bool cmGetFilenameComponentCommand } // Collapse the path to its simplest form. - result = cmSystemTools::CollapseFullPath(filename.c_str()); + filename = cmSystemTools::CollapseFullPath(filename.c_str()); + result = cmSystemTools::GetRealPath(filename.c_str()); } else { |