target_link_libraries: Propagate dependencies of object libraries

Prior to this commit, linking against an object library did not
propagate private link dependencies of object libraries to their
consuming targets. This change implements the correct behavior.

Fixes: #18692
Co-Author: Brad King <brad.king@kitware.com>
This commit is contained in:
Kyle Edwards
2018-12-10 10:39:22 -05:00
parent 8c7367e3f0
commit bab24e782c
5 changed files with 21 additions and 1 deletions
+5
View File
@@ -0,0 +1,5 @@
object-library-link
-------------------
* Object library linking has been fixed to propagate transitive link
dependencies of object libraries to consuming targets.