<div>I have found a situation where transitive link dependencies don't seem to work the way I would expect. I have a library A that depends on B. e.g.</div><div><br></div><div>target_link_libraries(A B)</div><div># and elsewhere we have ...</div>
<div>target_link_libraries(foo A)</div><div>#then B gets linked into foo as expected</div><div>#But, if I try to be more explicit in saying I want the static version of A...</div><div>target_link_libraries(bar A.a)</div><div>
# B does not get linked into bar ... :(</div><div><br></div><div>Is this known/expected behavior, or is it a bug?</div><div><br></div><div>Kevin</div><div><br></div><div><br></div><div><br></div>