<div dir="ltr"><div>I found the relevant CMake line, and only the unit tests should be ending up with a link dependency to pthreads. So don't declare the library itself as having a pthread dependency. (Maybe next release, when we get all jiggy with multi-threaded performance work, ha ha ha)</div><div>P<br></div><div><br></div><div>--- from cmakelists.txt<br></div><div>find_package(Threads)<br>target_link_libraries(test_geos_unit PRIVATE geos geos_c Threads::Threads)<br></div><div><br>On Wed, Oct 6, 2021 at 11:10 AM Paul Ramsey <<a href="mailto:pramsey@cleverelephant.ca">pramsey@cleverelephant.ca</a>> wrote:<br>> I'm looking at the pthreads thing... there are a few tests that do multi-threaded things to test the reentrant code bits, but the library itself doesn't use pthreads. I'm trying to figure if/how to make sure we aren't having it as a library dependency, it should only be a unit test dependency.<br><br></div></div>