[CMake] How to determine CPU features

Alexander Tarasov altar at gmx.com
Fri Mar 26 19:23:11 EDT 2010


Hi All,

Is there a clean way to find out if host CPU supports MMX & SSE2 extensions?

As far as I know this stuff is analyzed by cmake (am I wrong?). However 
I've did not find any way this info can be used in CMakeLists.txt.

Best regards,
Alexander.


More information about the CMake mailing list