diff options
author | Alexander Neundorf <neundorf@kde.org> | 2007-08-24 18:21:49 (GMT) |
---|---|---|
committer | Alexander Neundorf <neundorf@kde.org> | 2007-08-24 18:21:49 (GMT) |
commit | 9220e974017e34b53ba0650ec45c1a16566b6b88 (patch) | |
tree | 1e4ce1b543aa647e2ef7b79e2ab5c25dc1abf81c /Source/cmSourceGroup.cxx | |
parent | 9a4e7ea742e7ff8e1110f3fe55e98340cb309aef (diff) | |
download | CMake-9220e974017e34b53ba0650ec45c1a16566b6b88.zip CMake-9220e974017e34b53ba0650ec45c1a16566b6b88.tar.gz CMake-9220e974017e34b53ba0650ec45c1a16566b6b88.tar.bz2 |
BUG: fix #4057 (which had several duplicates): handle recursivew source groups better, i.e. multiple sourcegroups with the same end component work now
Alex
Diffstat (limited to 'Source/cmSourceGroup.cxx')
-rw-r--r-- | Source/cmSourceGroup.cxx | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Source/cmSourceGroup.cxx b/Source/cmSourceGroup.cxx index c34afe8..f98eeef 100644 --- a/Source/cmSourceGroup.cxx +++ b/Source/cmSourceGroup.cxx @@ -105,14 +105,6 @@ cmSourceGroup *cmSourceGroup::lookupChild(const char* name) { return &(*iter); // if it so return it } - // if the descendend isn't the one where looking for ask it's traverse - cmSourceGroup *result = iter->lookupChild(name); - - // if one of it's descendeds is the one we're looking for return it - if(result) - { - return result; - } } // if no child with this name was found return NULL |