Re: [cmake-developers] Checking for -pthread before -lpthread{s} in FindThreads.cmake

2011-04-17 Thread Raphael Kubo da Costa
Rolf Eike Beer e...@sf-mail.de writes: Am Sonntag 17 April 2011, 03:23:39 schrieb Raphael Kubo da Costa: 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

Re: [cmake-developers] Checking for -pthread before -lpthread{s} in FindThreads.cmake

2011-04-17 Thread Rolf Eike Beer
Am Sonntag 17 April 2011, 19:05:04 schrieb Raphael Kubo da Costa: Rolf Eike Beer e...@sf-mail.de writes: Am Sonntag 17 April 2011, 03:23:39 schrieb Raphael Kubo da Costa: Depending on the patch implementation, this would probably fix CMake bug #7830 as a side-effect. I think 7830 is

Re: [cmake-developers] Checking for -pthread before -lpthread{s} in FindThreads.cmake

2011-04-16 Thread Raphael Kubo da Costa
Raphael Kubo da Costa kub...@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.