# Correct way to use third-party libraries in cmake project

**URL:** https://discourse.cmake.org/t/correct-way-to-use-third-party-libraries-in-cmake-project/1368
**Category:** Usage
**Created:** [June 10, 2020, 11:32pm UTC](https://discourse.cmake.org/t/correct-way-to-use-third-party-libraries-in-cmake-project/1368 "2020-06-10T23:32:20Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![jwm](https://discourse.cmake.org/user_avatar/discourse.cmake.org/jwm/32/654_2.png) [@jwm](https://discourse.cmake.org/u/jwm)
#### Post date: [June 11, 2020, 2:20am UTC](https://discourse.cmake.org/t/correct-way-to-use-third-party-libraries-in-cmake-project/1368/3 "2020-06-11T02:20:26Z")

</div>

That SO post is **so** close to answering my questions. In my post [The Zen of integrating 3rd party packages](https://discourse.cmake.org/t/the-zen-of-integrating-3rd-party-packages/1318/2) I have a package that is so bad. Unfortunately, the package is _very_ badly maintained.

I got it to build using ExternalProject, but other components need a little help finding the headers and library.

---

_[View the full topic](https://discourse.cmake.org/t/correct-way-to-use-third-party-libraries-in-cmake-project/1368)._
