# \[FetchContent\] How to include header files of a third-party project whose target does not provide them

**URL:** https://discourse.cmake.org/t/fetchcontent-how-to-include-header-files-of-a-third-party-project-whose-target-does-not-provide-them/9734
**Category:** Usage
**Created:** [December 29, 2023, 11:24am UTC](https://discourse.cmake.org/t/fetchcontent-how-to-include-header-files-of-a-third-party-project-whose-target-does-not-provide-them/9734 "2023-12-29T11:24:12Z")
**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 29, 2023, 2:55pm UTC](https://discourse.cmake.org/t/fetchcontent-how-to-include-header-files-of-a-third-party-project-whose-target-does-not-provide-them/9734/2 "2023-12-29T14:55:36Z")

</div>

See this answer:

> [@Ninja and ExternalProject\_Add](https://discourse.cmake.org/t/ninja-and-externalproject-add/9590/2):
>
> Mixing ExternalProject with “normal” targets is not well supported. I would suggest using FetchContent or using find\_package and using a superbuild to drive the builds using ExternalProject for each.

---

_[View the full topic](https://discourse.cmake.org/t/fetchcontent-how-to-include-header-files-of-a-third-party-project-whose-target-does-not-provide-them/9734)._
