Ninja: Do not use cmcldeps for RC on non-Windows hosts

Martin Storsjö requested to merge mstorsjo/cmake:cmcldeps-cross into master

The cmcldeps executable is only built on Windows. If running MSVC on a different OS (with various compatibility wrapping), don't try to use cmcldeps, as the executable doesn't exist.

Fixes: #21760 (closed)

Edited by Brad King

Merge request reports