FetchContent: Respect the CMP0135 policy setting

Fixes: #23560
6 files changed