Revert "cmTarget: Make the source files depend on the config."

This reverts commit 1e59035450ab535251ae5dbfb51101d7c1e67c87.
Merge topic 'target-transitive-sources' into next

87c6e7fb Revert "cmTarget: Make the source files depend on the config."