mirror of
https://github.com/reactos/CMake.git
synced 2025-01-26 05:47:10 +00:00
ENH: fix dashbaord error do not exclude root project from itself.
This commit is contained in:
parent
2826dc4003
commit
18e302a377
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user