Either you&#39;ve got that reversed, or 4 should be 8... right?<div><br></div><div>lib64 should be for an 8-byte void* ...</div><div><br><br><div class="gmail_quote">On Fri, Oct 8, 2010 at 11:48 AM, Mateusz Loskot <span dir="ltr">&lt;<a href="mailto:mateusz@loskot.net">mateusz@loskot.net</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On 08/10/10 16:42, Michael Jackson wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
maybe SIZE_OF_VOID_POINTER of whatever that variable is in CMake?<br>
</blockquote>
<br></div>
In SOCI library, I use something like this:<br>
<br>
if(UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 4)<br>
  set(SOCI_LIBDIR &quot;lib64&quot;)<br>
else()<br>
  set(SOCI_LIBDIR &quot;lib&quot;)<br>
endif()<br>
<br>
Best regards,<br><font color="#888888">
-- <br>
Mateusz Loskot, <a href="http://mateusz.loskot.net" target="_blank">http://mateusz.loskot.net</a><br>
Charter Member of OSGeo, <a href="http://osgeo.org" target="_blank">http://osgeo.org</a><br>
Member of ACCU, <a href="http://accu.org" target="_blank">http://accu.org</a></font><div><div></div><div class="h5"><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>
</div></div></blockquote></div><br></div>