OBJECT library circular target_link_libraries
CMake master
(toward 3.12) now supports target_link_libraries
for object libraries. See !1524 (merged).
A post on the developer mailing list:
- Apr 2017: Usage Requirements with Object Libraries
pointed out the possibility of circular dependencies among object libraries through target_link_libraries
. Currently it is rejected because they are not static libraries. We need to consider whether this can work for object libraries too.