Yes, you are right.
My mistake.

Thanks!
Mat


On 08/10/10 16:51, David Cole wrote:
Either you've got that reversed, or 4 should be 8... right?

lib64 should be for an 8-byte void* ...


On Fri, Oct 8, 2010 at 11:48 AM, Mateusz Loskot <mate...@loskot.net
<mailto:mate...@loskot.net>> wrote:

    On 08/10/10 16:42, Michael Jackson wrote:

        maybe SIZE_OF_VOID_POINTER of whatever that variable is in CMake?


    In SOCI library, I use something like this:

    if(UNIX AND CMAKE_SIZEOF_VOID_P EQUAL 4)
      set(SOCI_LIBDIR "lib64")
    else()
      set(SOCI_LIBDIR "lib")
    endif()

    Best regards,
    --
    Mateusz Loskot, http://mateusz.loskot.net
    Charter Member of OSGeo, http://osgeo.org
    Member of ACCU, http://accu.org

    _______________________________________________
    Powered by www.kitware.com <http://www.kitware.com>

    Visit other Kitware open-source projects at
    http://www.kitware.com/opensource/opensource.html

    Please keep messages on-topic and check the CMake FAQ at:
    http://www.cmake.org/Wiki/CMake_FAQ

    Follow this link to subscribe/unsubscribe:
    http://www.cmake.org/mailman/listinfo/cmake




--
Mateusz Loskot, http://mateusz.loskot.net
Charter Member of OSGeo, http://osgeo.org
Member of ACCU, http://accu.org
_______________________________________________
Powered by www.kitware.com

Visit other Kitware open-source projects at 
http://www.kitware.com/opensource/opensource.html

Please keep messages on-topic and check the CMake FAQ at: 
http://www.cmake.org/Wiki/CMake_FAQ

Follow this link to subscribe/unsubscribe:
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to