<span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; ">Does:</span></div>
<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: 13px; border-collapse: collapse; "><br></span></div> find_library(<br> MY_LIB<br> libthelibrary.a<br> PATHS<br> ...<br> )<br>
</span><br><div>work?</div><div><br></div><div><br><div class="gmail_quote">On Thu, Mar 31, 2011 at 11:38 AM, Robert Bielik <span dir="ltr"><<a href="mailto:robert.bielik@xponaut.se">robert.bielik@xponaut.se</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">I'm trying to use find_library to find static (.a) libraries on Mac OS X (cmake 2.8.1). In a lib path I have f.i.:<br>
<br>
.../lib/libthelibrary.a<br>
.../lib/libthelibrary.dylib<br>
<br>
and with:<br>
<br>
find_library(<br>
MY_LIB<br>
thelibrary<br>
PATHS<br>
...<br>
)<br>
<br>
it consequently finds only the .dylib ones, whereas I'd like to get hold of the .a ones...<br>
<br>
How to?<br>
<br>
TIA<br>
/Rob<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></div>