# building/referencing a library

**URL:** https://discourse.cmake.org/t/building-referencing-a-library/1446
**Category:** Usage
**Created:** [June 25, 2020, 11:25pm UTC](https://discourse.cmake.org/t/building-referencing-a-library/1446 "2020-06-25T23:25:46Z")
**Posts on this page:** 1
**Showing post:** 8

<div class="post-metadata">

### Author: ![sszabo](https://discourse.cmake.org/user_avatar/discourse.cmake.org/sszabo/32/6030_2.png) [@sszabo](https://discourse.cmake.org/u/sszabo)
#### Post date: [July 8, 2020, 6:49pm UTC](https://discourse.cmake.org/t/building-referencing-a-library/1446/8 "2020-07-08T18:49:10Z")

</div>

That’s for finding the threading library on the system (like pthreads, etc), see cmake’s Modules/FindThreads.cmake for what it’s doing.

---

_[View the full topic](https://discourse.cmake.org/t/building-referencing-a-library/1446)._
