BUG: Need to collapse path argument to get_directory_property. This addresses bug#3847.

This commit is contained in:
Brad King
2006-10-16 15:18:03 -04:00
parent 49bf0b9e3d
commit 30235517f8
2 changed files with 8 additions and 0 deletions

View File

@@ -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()->