mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-13 02:29:02 -06:00
ENH: fix dashbaord error do not exclude root project from itself.
This commit is contained in:
@@ -975,6 +975,10 @@ void cmGlobalGenerator::GetDocumentation(cmDocumentationEntry& entry) const
|
||||
bool cmGlobalGenerator::IsExcluded(cmLocalGenerator* root,
|
||||
cmLocalGenerator* gen)
|
||||
{
|
||||
if(gen == root)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
cmLocalGenerator* cur = gen->GetParent();
|
||||
while(cur && cur != root)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user