[CMake] Test if found library is 32 or 64 bit

joe loeffel77 at yahoo.com
Mon Jul 11 11:42:40 EDT 2011


Hi,
I've got a seemingly simple question. However, I failed to find an answer up to now.

In my FindXXX module, I search a library with help of the find_library command on a 64-bit Linux. Now, I want to check, if the library is 32-bit (built with -m32) or 64-bit. 

How can I check this?

Thanks in advance,
Klaus.


More information about the CMake mailing list