I have a static library A
that depends on other shared libraries B
and C
. When I build my application D
, I need to find and link with A
, B
and C
. Is there a way to tell CMake to link only with A
and to get from it that it needs to link with B
and C
?
Note that the application A
is a different project with it's own CMake files and directories and that all of the libraries and the application are for Linux.