Closed Johnnynator closed 2 years ago
One can easily make an 32bit build without having -m32 in CFLAGS, e.g. in native builds. Checking CMAKE_SIZEOF_VOID_P is probably the most reliable way to differentiate between an 32bit and a 64bit system.
-m32
CMAKE_SIZEOF_VOID_P
Thanks!
One can easily make an 32bit build without having
-m32
in CFLAGS, e.g. in native builds. CheckingCMAKE_SIZEOF_VOID_P
is probably the most reliable way to differentiate between an 32bit and a 64bit system.