mirror of
https://github.com/Kitware/CMake.git
synced 2025-07-26 11:40:41 +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>