[CMake] Detecting -m32 build target on 64-bit host

Mateusz Loskot mateusz at loskot.net
Thu Apr 23 10:54:49 EDT 2015


Hi,

Surprisingly, I'm having trouble to figure out how to determine,
that in Linux 64-bit OS, I'm building a project with -m32 specified.
IOW, any CMake variable or macro to tell me target architecture
of a build that is being configured is 32 or 64 bit?

Best regards,
-- 
Mateusz  Loskot, http://mateusz.loskot.net


More information about the CMake mailing list