[cmake-developers] Checking for -pthread before -lpthread{s} in FindThreads.cmake
Raphael Kubo da Costa
kubito at gmail.com
Sat Apr 16 22:35:01 EDT 2011
Raphael Kubo da Costa <kubito at gmail.com>
writes:
> FreeBSD explicitly recommends using -pthread [1], and I guess the same
> holds for at least gcc-based systems, where -pthread usually translates
> into automatically passing -lpthread and any necessary definitions to
> the compiler and the linker.
Sorry, I forgot about [1] :)
[1] http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/dads-pthread.html
More information about the cmake-developers
mailing list