Skip to content

graphviz: dereference ALIAS targets

Nick Schultz requested to merge nickker22/cmake:graphviz-fix-alias into master

Previous behavior treats ALIAS targets as external targets. This fix de-aliases these targets to their pointed target.

This is my first attempt at look at CMake source, let me know if there are any alternatives that are better. My build uses many aliases and this patch resolves my issues when creating dependency graphs.

Another approach is to create an ALIAS node that ends up pointing to the real target. But that was more work than I wanted to take on.

Fixes: #15636 (closed)

Edited by Brad King

Merge request reports