# How to install(EXPORT...) in subprojects with each having same dependencies

**URL:** https://discourse.cmake.org/t/how-to-install-export-in-subprojects-with-each-having-same-dependencies/2076
**Category:** Usage
**Tags:** os:linux
**Created:** [October 27, 2020, 6:10pm UTC](https://discourse.cmake.org/t/how-to-install-export-in-subprojects-with-each-having-same-dependencies/2076 "2020-10-27T18:10:42Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![ClausKlein](https://discourse.cmake.org/user_avatar/discourse.cmake.org/clausklein/32/352_2.png) [@ClausKlein](https://discourse.cmake.org/u/ClausKlein)
#### Post date: [February 27, 2021, 12:04pm UTC](https://discourse.cmake.org/t/how-to-install-export-in-subprojects-with-each-having-same-dependencies/2076/8 "2021-02-27T12:04:50Z")

</div>

I am seraching for a general and simple way to solve this.  
Perhaps his may be interesting for you: [How to install component libraries like boost?](https://discourse.cmake.org/t/how-to-install-component-libraries-like-boost/2854)

> **[TheLartians/ModernCppStarter](https://github.com/TheLartians/ModernCppStarter)**
>
> 🚀 Kick-start your C++! A template for modern C++ projects using CMake, CI, code coverage, clang-format, reproducible dependency management and much more.

---

_[View the full topic](https://discourse.cmake.org/t/how-to-install-export-in-subprojects-with-each-having-same-dependencies/2076)._
