[cmake-commits] king committed cmGetDirectoryPropertyCommand.cxx 1.7
1.8
cmake-commits at cmake.org
cmake-commits at cmake.org
Mon Oct 16 15:18:05 EDT 2006
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv6255/Source
Modified Files:
cmGetDirectoryPropertyCommand.cxx
Log Message:
BUG: Need to collapse path argument to get_directory_property. This addresses bug#3847.
Index: cmGetDirectoryPropertyCommand.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGetDirectoryPropertyCommand.cxx,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- cmGetDirectoryPropertyCommand.cxx 10 May 2006 19:56:00 -0000 1.7
+++ cmGetDirectoryPropertyCommand.cxx 16 Oct 2006 19:18:00 -0000 1.8
@@ -53,6 +53,10 @@
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()->
More information about the Cmake-commits
mailing list