WingNews logo WingNews
top | new | best | ask | show | jobs
top | item 36564172

(no title)

aloisklink | 2 years ago

Btw, CMake has the [FindThreads][1] module to automatically link with `-lpthread`/`-pthread` in a platform-agnostic way.

Even after this change in glibc, you may still need to use FindThreads to handle [HP-UX][2] (some of which still run [Itanium][3]!!!).

[1]: https://cmake.org/cmake/help/latest/module/FindThreads.html

[2]: https://en.wikipedia.org/wiki/HP-UX

[3]: https://en.wikipedia.org/wiki/Itanium

discuss

order

No comments yet.

powered by hn/api // news.ycombinator.com