# Control what is installed / packaged

**URL:** https://discourse.cmake.org/t/control-what-is-installed-packaged/3778
**Category:** Code
**Created:** [July 18, 2021, 8:09pm UTC](https://discourse.cmake.org/t/control-what-is-installed-packaged/3778 "2021-07-18T20:09:51Z")
**Posts on this page:** 1
**Showing post:** 5

<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: [July 24, 2021, 11:47pm UTC](https://discourse.cmake.org/t/control-what-is-installed-packaged/3778/5 "2021-07-24T23:47:27Z")

</div>

I would guess that it is skipping recursive scanning to avoid double installation. You could add your own install rules for targets in the subdirectories so that you can bypass whatever other rules are there.

---

_[View the full topic](https://discourse.cmake.org/t/control-what-is-installed-packaged/3778)._
