Am Sonntag 17 April 2011, 03:23:39 schrieb Raphael Kubo da Costa: > Hello there, > > I see that currently FindThreads.cmake checks for -lpthreads, -lpthread > and -lthread before trying to compile code with -pthread. > > 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. > > Is the current order of the checks intentional, or would a patch > changing the checks be accepted? Depending on the patch implementation, > this would probably fix CMake bug #7830 as a side-effect.
I think 7830 is another incarnation of what I submitted as bug 11333. And there is even a patch in my bug. Eike _______________________________________________ cmake-developers mailing list [email protected] http://public.kitware.com/cgi-bin/mailman/listinfo/cmake-developers
