[CMake] How to detect 32/64 architecture

Luigi Calori l.calori at cineca.it
Fri Mar 9 06:02:21 EST 2007


Is there a macro or variable to detect 32/64 architecture under Linux 
(possibly also under windows)
In order to mimic pre-existent builds we have been asked to install on 
lib64 if on a 64 architecture and lib or luib32 if appropriate

Thanks a lot


More information about the CMake mailing list