cmCoreTryCompile: use `target_sources` for `try_compile` targets In order to support using C++ module sources in `try_compile`, `target_sources` will be required. To prepare, always use the command.