[CMake] Module FindOpenMP fails on Intel compiler

Daniel Blezek Blezek.Daniel at mayo.edu
Mon Nov 23 09:43:17 EST 2009


Hi all,

  The FindOpenMP has some broken logic.  For the Intel compiler, the
­fopenmp is accepted because ICC is based off of the GCC source code.
However, this flag just causes a warning.  The order of checking flags
should have the Intel flag (-openmp) listed before the GCC flag (-fopenmp).

  If this could be fixed, it would be greatly appreciated.  I do build a
CMake nightly using the Intel compiler, so this could be tested...

Thanks,
-dan

-- 
Daniel Blezek, PhD
Medical Imaging Informatics Innovation Center

P 127 or (77) 8 8886
T 507 538 8886
E blezek.daniel at mayo.edu

Mayo Clinic
200 First St. S.W.
Harwick SL-44
Rochester, MN 55905
mayoclinic.org


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.cmake.org/pipermail/cmake/attachments/20091123/411e3a1b/attachment.htm>


More information about the CMake mailing list