Hello,<br><br>I've merged (optional) Pthreads-win32 support into a FindThreads.cmake attached in the tracker and added some documentation on how to use it. Since FindThreads isn't my module I wanted to throw this up on the mailing list for feedback.<br>
<br>
<a href="http://www.cmake.org/Bug/view.php?id=6399">http://www.cmake.org/Bug/view.php?id=6399</a><br><br><br>Also, in regard to a previous mailing list thread about FindThreads...<br><br>I'm not sure which platform the block "Check if compiler accepts -pthread" is executed on. The documentation I attached to the code advises calling "target_link_libraries(target ${CMAKE_THREAD_LIBS_INIT})". After grokking the code a bit further I'm now guessing this "-pthread" argument is technically accepted by the linker and not needed by the compiler, but it would be nice to know this for sure to ensure the documentation is correct.<br>
<br>-- <br>Philip Lowman<br>