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

Reply via email to