Is it possible to detect a 32 bit build on a 64 bit system.

I know I can look at the CMAKE_SIZEOF_VOIDP to determine the bitness
of the build, but that can't tell me if I'm on a 64 bit linux system.
Is there another mechanism?

Thanks,
James
_______________________________________________
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