target_sources(): Prohibit FILE_SET on custom targets

Fixes: #23262
6 files changed