# How to install a static library that depends on another static library

**URL:** https://discourse.cmake.org/t/how-to-install-a-static-library-that-depends-on-another-static-library/12797
**Category:** Usage
**Created:** [October 18, 2024, 11:45am UTC](https://discourse.cmake.org/t/how-to-install-a-static-library-that-depends-on-another-static-library/12797 "2024-10-18T11:45:59Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Lecris](https://discourse.cmake.org/user_avatar/discourse.cmake.org/lecris/32/3193_2.png) [@Lecris](https://discourse.cmake.org/u/Lecris)
#### Post date: [October 18, 2024, 11:45am UTC](https://discourse.cmake.org/t/how-to-install-a-static-library-that-depends-on-another-static-library/12797/1 "2024-10-18T11:45:59Z")

</div>

As far as I understand when installing a static library (`install(TARGETS)`) and there are dependencies on other static libraries, these have to also be installed and included in the `<Package>Config.cmake` file. The question I would have is if there is no way around it? Is it not possible to combine and bundle the dependency’s static library witin the current project’s static library that we want to install?
