summaryrefslogtreecommitdiffstats
path: root/Source/cmLinkItemGraphVisitor.cxx
diff options
context:
space:
mode:
authorCorentin Plouet <corentin@plouet.name>2020-06-21 13:54:59 (GMT)
committerCorentin Plouet <corentin@plouet.name>2020-06-21 15:17:19 (GMT)
commitee5eb2eab4976c413b5bb59106c6920a5f49520f (patch)
tree9754b2cf26a91cc8f52f534aacc5e1f6e5436f5c /Source/cmLinkItemGraphVisitor.cxx
parent71f6c7badfdce6279442e124ff0f9b956c926c4a (diff)
downloadCMake-ee5eb2eab4976c413b5bb59106c6920a5f49520f.zip
CMake-ee5eb2eab4976c413b5bb59106c6920a5f49520f.tar.gz
CMake-ee5eb2eab4976c413b5bb59106c6920a5f49520f.tar.bz2
Graphviz: add missing support for circular dependencies
This support was actually added by removing a superfluous check that was too eager in cmLinkItemGraphVisitor.cxx. Extended the existing Graphviz tests to include this particular case, and re-generated the expected output files. Fixes: #20720
Diffstat (limited to 'Source/cmLinkItemGraphVisitor.cxx')
-rw-r--r--Source/cmLinkItemGraphVisitor.cxx4
1 files changed, 0 insertions, 4 deletions
diff --git a/Source/cmLinkItemGraphVisitor.cxx b/Source/cmLinkItemGraphVisitor.cxx
index acc23c8..b13def8 100644
--- a/Source/cmLinkItemGraphVisitor.cxx
+++ b/Source/cmLinkItemGraphVisitor.cxx
@@ -24,10 +24,6 @@ void cmLinkItemGraphVisitor::VisitItem(cmLinkItem const& item)
void cmLinkItemGraphVisitor::VisitLinks(cmLinkItem const& item,
cmLinkItem const& rootItem)
{
- if (this->LinkVisited(item, rootItem)) {
- return;
- }
-
if (item.Target == nullptr) {
return;
}