Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Using -pthread is the "right way" of enabling threading support in GCC and similar, and this can accomplished with the THREADS_PREFER_PTHREAD_FLAG option. Its use is also recommended by the CMake devs, see https://cmake.org/cmake/help/latest/module/FindThreads.html#variable:THREADS_PREFER_PTHREAD_FLAG
- Loading branch information