Fix OBJECT libraries with per-config sources
Without the changes in this merge-request CMake returns too early from cmGeneratorTarget::GetKindedSources
when run with a multi-configuration generator. As a result the non-default configurations might link against wrong or non-existing object-files.
Fixes: #21198 (closed)
Topic-rename: obj-lib-per-config-source
Edited by Brad King