add_dependencies: Document behavior under Ninja generators
As identified in discussion starting at #25788 (comment 1497400), the documentation of add_dependencies
needs clarification for the behavior of the Ninja generators introduced for #15555 (closed).