Transitive dependency on OBJECT library does not work
Transitive dependency does not work when using OBJECT libraries, as in this simple example:
add_library(a OBJECT a.c)
add_library(b OBJECT b.c)
target_link_libraries(b a)
add_executable(main main.c)
target_link_libraries(main b)
The objects from a.o are not linked with main.