# How to manager transitive dependencies ?

**URL:** <https://discourse.cmake.org/t/how-to-manager-transitive-dependencies/10957>\
**Category:** Code\
**Created:** [June 6, 2024, 12:42pm UTC](https://discourse.cmake.org/t/how-to-manager-transitive-dependencies/10957 "2024-06-06T12:42:40Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Oodini](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/o/db5fbb/32.png) [@Oodini](https://discourse.cmake.org/u/Oodini)\
**Post date:** [June 6, 2024, 12:42pm UTC](https://discourse.cmake.org/t/how-to-manager-transitive-dependencies/10957/1 "2024-06-06T12:42:41Z")

</div>

Hello,

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 ?
