summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/Graphviz/test_project
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 /Tests/RunCMake/Graphviz/test_project
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 'Tests/RunCMake/Graphviz/test_project')
-rw-r--r--Tests/RunCMake/Graphviz/test_project/system_library.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Tests/RunCMake/Graphviz/test_project/system_library.c b/Tests/RunCMake/Graphviz/test_project/system_library.c
new file mode 100644
index 0000000..5d67079
--- /dev/null
+++ b/Tests/RunCMake/Graphviz/test_project/system_library.c
@@ -0,0 +1,3 @@
+void initialize_system()
+{
+}