[cmake-commits] hoffman committed cmGlobalGenerator.cxx 1.155 1.156
cmake-commits at cmake.org
cmake-commits at cmake.org
Tue Oct 3 17:53:10 EDT 2006
Update of /cvsroot/CMake/CMake/Source
In directory public:/mounts/ram/cvs-serv1826/Source
Modified Files:
cmGlobalGenerator.cxx
Log Message:
ENH: fix dashbaord error do not exclude root project from itself.
Index: cmGlobalGenerator.cxx
===================================================================
RCS file: /cvsroot/CMake/CMake/Source/cmGlobalGenerator.cxx,v
retrieving revision 1.155
retrieving revision 1.156
diff -u -d -r1.155 -r1.156
--- cmGlobalGenerator.cxx 3 Oct 2006 19:12:25 -0000 1.155
+++ cmGlobalGenerator.cxx 3 Oct 2006 21:53:07 -0000 1.156
@@ -975,6 +975,10 @@
bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
cmLocalGenerator* gen)
{
+ if(gen == root)
+ {
+ return false;
+ }
cmLocalGenerator* cur = gen->GetParent();
while(cur && cur != root)
{
More information about the Cmake-commits
mailing list