[CMake] CMake Visual Studio 64bit flag?

David Cole david.cole at kitware.com
Fri Oct 8 11:51:47 EDT 2010


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 <mateusz at 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
>
> 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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20101008/88ed5575/attachment.htm>


More information about the CMake mailing list