--- Comment #13 from Adriaan de Groot <> ---
For CMake 3.11, a new issue is introduced where `find_package(OpenMP)` does the
right thing and finds -fopenmp as the right flag, and then it goes looking for
supporting libraries. With CMake 3.11, NO_ROOT_PATH (?) is used, and that
prevents it from finding `-lpthread`.

I'm going to solve that with a hammer in the FreeBSD packaging with

set(OpenMP_pthread_LIBRARY -lpthread)

near the top of the module. That stops it from being searched for.

You are receiving this mail because:
You are the assignee for the bug.

Reply via email to