<span class="Apple-style-span" style="font-family: monospace; "><div class="pre" style="font-family: monospace; font-size: 12px; white-space: pre; "><a id="l26" href="http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=459129bc4ab0634c2c42feabbd6f37dc4110c700;hb=HEAD#l26" class="linenr" style="color: rgb(153, 153, 153); text-decoration: none; ">  26</a> # Do we have sproc?</div>
<div class="pre" style="font-family: monospace; font-size: 12px; white-space: pre; "><a id="l27" href="http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=459129bc4ab0634c2c42feabbd6f37dc4110c700;hb=HEAD#l27" class="linenr" style="color: rgb(153, 153, 153); text-decoration: none; ">  27</a> IF(CMAKE_SYSTEM MATCHES IRIX)</div>
<div class="pre" style="font-family: monospace; font-size: 12px; white-space: pre; "><a id="l28" href="http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=459129bc4ab0634c2c42feabbd6f37dc4110c700;hb=HEAD#l28" class="linenr" style="color: rgb(153, 153, 153); text-decoration: none; ">  28</a>   CHECK_INCLUDE_FILES(&quot;sys/types.h;sys/prctl.h&quot;  CMAKE_HAVE_SPROC_H)</div>
<div class="pre" style="font-family: monospace; font-size: 12px; white-space: pre; "><a id="l29" href="http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=459129bc4ab0634c2c42feabbd6f37dc4110c700;hb=HEAD#l29" class="linenr" style="color: rgb(153, 153, 153); text-decoration: none; ">  29</a> ENDIF()</div>
<div class="pre" style="font-family: monospace; font-size: 12px; white-space: pre; "><a id="l30" href="http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=459129bc4ab0634c2c42feabbd6f37dc4110c700;hb=HEAD#l30" class="linenr" style="color: rgb(153, 153, 153); text-decoration: none; ">  30</a> </div>
<div class="pre" style="font-family: monospace; font-size: 12px; white-space: pre; "><a id="l31" href="http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=459129bc4ab0634c2c42feabbd6f37dc4110c700;hb=HEAD#l31" class="linenr" style="color: rgb(153, 153, 153); text-decoration: none; ">  31</a> IF(CMAKE_HAVE_SPROC_H)</div>
<div class="pre" style="font-family: monospace; font-size: 12px; white-space: pre; "><a id="l32" href="http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=459129bc4ab0634c2c42feabbd6f37dc4110c700;hb=HEAD#l32" class="linenr" style="color: rgb(153, 153, 153); text-decoration: none; ">  32</a>   # We have sproc</div>
<div class="pre" style="font-family: monospace; font-size: 12px; white-space: pre; "><a id="l33" href="http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=459129bc4ab0634c2c42feabbd6f37dc4110c700;hb=HEAD#l33" class="linenr" style="color: rgb(153, 153, 153); text-decoration: none; ">  33</a>   SET(CMAKE_USE_SPROC_INIT 1)</div>
<div class="pre" style="font-family: monospace; font-size: 12px; white-space: pre; "><a id="l34" href="http://cmake.org/gitweb?p=cmake.git;a=blob;f=Modules/FindThreads.cmake;h=459129bc4ab0634c2c42feabbd6f37dc4110c700;hb=HEAD#l34" class="linenr" style="color: rgb(153, 153, 153); text-decoration: none; ">  34</a> ELSE()</div>
</span><div><br></div><div>Clinton,</div><div><br></div><div>I would add a variable to FindThreads above that if set avoids the call to CHECK_INCLUDE_FILES().  Then you can test the pthread functionality in the ELSE() block and see if it works properly on IRIX and submit a patch to the bugtracker.</div>
<div><br></div><div><br></div><div class="gmail_quote">On Tue, Jun 1, 2010 at 1:21 PM, Clinton Stimpson <span dir="ltr">&lt;<a href="mailto:clinton@elemtech.com">clinton@elemtech.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
How can I make FindThreads.cmake find pthreads on IRIX instead of sproc?<br>
<br>
Thanks,<br>
Clint<br>
_______________________________________________<br>
Powered by <a href="http://www.kitware.com" target="_blank">www.kitware.com</a><br>
<br>
Visit other Kitware open-source projects at <a href="http://www.kitware.com/opensource/opensource.html" target="_blank">http://www.kitware.com/opensource/opensource.html</a><br>
<br>
Please keep messages on-topic and check the CMake FAQ at: <a href="http://www.cmake.org/Wiki/CMake_FAQ" target="_blank">http://www.cmake.org/Wiki/CMake_FAQ</a><br>
<br>
Follow this link to subscribe/unsubscribe:<br>
<a href="http://www.cmake.org/mailman/listinfo/cmake" target="_blank">http://www.cmake.org/mailman/listinfo/cmake</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>Philip Lowman<br>