mirror of
https://github.com/Kitware/CMake.git
synced 2025-07-24 08:37:29 +08:00

A cycle exists when the DFS returns to the root node, not just when multiple paths lead to the same node. Inspired-By: Alexander Esilevich <aesilevich@pathscale.com>