trendmicro / tlsh

Other
726 stars 135 forks source link

Configure CMake for pthreads #108

Closed cgull closed 2 years ago

cgull commented 2 years ago

This commit adds better CMake configuration for pthreads, needed for FreeBSD. It also makes builds on Linux more correct.

Tested on OpenSuse Tumbleweed and FreeBSD 13.0.

jonjoliver commented 2 years ago

Seems good. Small changes with links to explanation on Stack Exchange etc

cgull commented 2 years ago

Thanks, again! Here's why I'm making these changes:

https://github.com/cgull/freebsd-ports/tree/tlsh-port-3/devel/tlsh

This work will apply well for Linux distros, too, though.