# Why do private linked targets leak out in install targets ?

**URL:** https://discourse.cmake.org/t/why-do-private-linked-targets-leak-out-in-install-targets/13076
**Category:** Usage
**Created:** [November 27, 2024, 2:52pm UTC](https://discourse.cmake.org/t/why-do-private-linked-targets-leak-out-in-install-targets/13076 "2024-11-27T14:52:32Z")
**Posts on this page:** 1
**Showing post:** 2

<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: [November 27, 2024, 7:04pm UTC](https://discourse.cmake.org/t/why-do-private-linked-targets-leak-out-in-install-targets/13076/2 "2024-11-27T19:04:31Z")

</div>

See [CMake Error: install(EXPORT "ProjectTargets" ...) includes target "xxx" which requires target "yyy" that is not in any export set. - #6 by ben.boeckel](https://discourse.cmake.org/t/cmake-error-install-export-projecttargets-includes-target-xxx-which-requires-target-yyy-that-is-not-in-any-export-set/7344/6)

---

_[View the full topic](https://discourse.cmake.org/t/why-do-private-linked-targets-leak-out-in-install-targets/13076)._
