# Help with find\_package with nested libs

**URL:** <https://discourse.cmake.org/t/help-with-find-package-with-nested-libs/7014>\
**Category:** Usage\
**Created:** [December 5, 2022, 12:28pm UTC](https://discourse.cmake.org/t/help-with-find-package-with-nested-libs/7014 "2022-12-05T12:28:36Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ben.boeckel](https://discourse.cmake.org/letter_avatar_proxy/v4/letter/b/ea5d25/32.png) [@ben.boeckel](https://discourse.cmake.org/u/ben.boeckel)\
**Post date:** [December 5, 2022, 10:08pm UTC](https://discourse.cmake.org/t/help-with-find-package-with-nested-libs/7014/2 "2022-12-05T22:08:35Z")

</div>

_If_ the `ccc` library only brings compile usage requirements (i.e., no `IMPORTED` targets to link to or the like), linking `$<BUILD_INTERFACE:ccc>` would keep it from its _install_. Wtih CMake 3.26 will have `$<BUILD_LOCAL_INTERFACE>` to hide it from all exports.

---

_[View the full topic](https://discourse.cmake.org/t/help-with-find-package-with-nested-libs/7014)._
