diff options
Diffstat (limited to 'Source')
-rw-r--r-- | Source/cmGetDirectoryPropertyCommand.cxx | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmGetDirectoryPropertyCommand.cxx b/Source/cmGetDirectoryPropertyCommand.cxx index 8d08c6b..278e2ae 100644 --- a/Source/cmGetDirectoryPropertyCommand.cxx +++ b/Source/cmGetDirectoryPropertyCommand.cxx @@ -53,6 +53,10 @@ bool cmGetDirectoryPropertyCommand::InitialPass( sd += "/"; sd += *i; } + + // The local generators are associated with collapsed paths. + sd = cmSystemTools::CollapseFullPath(sd.c_str()); + // lookup the makefile from the directory name cmLocalGenerator *lg = this->Makefile->GetLocalGenerator()->GetGlobalGenerator()-> |