cmake -E capabilities: Tell whether TLS is enabled

Fixes: #20507
4 files changed