How to manager transitive dependencies ?


I have a static library called LibA which depends on some DLL. Today, these DLL are copied in the install\deps directory when calling the install() command.

A second library, called LibB, fetches LibA to link to it. But is has to know that it has to retrieve some files from the deps directory.

And when is called install(), the deps firectory has been forgotten, and the consumer of LibB doesn’t have the needed DLL.

Should I make the DLL copied in the standard install\bin directory of LibA of LibB, along the binaries built from the sources of LibA and LibB ? So that the client don’t experimebnt any problem ?

What is the good way ?