[CMake] Determining ICC

Amitha Perera perera at cs.rpi.edu
Tue Feb 21 13:25:36 EST 2006


Folks,

How can I determine at CMake time whether the compiler is icc? 
(Intel's compiler.) I want to do this to forcibly add appropriate
threading flags, if the flags are not already present.

Or, is there a better way to ensure that the compiler has the correct
flags for threading?

Thanks,
Amitha.



More information about the CMake mailing list