[cmake-developers] [PATCH] Add Clang support to FindOpenMP
pavlina.chris at gmail.com
Thu Dec 10 10:49:27 EST 2015
Attached is a patch to add the correct option for building OpenMP code using Clang. Per the llvm release notes <http://llvm.org/releases/3.7.0/tools/clang/docs/ReleaseNotes.html> it is necessary to give -fopenmp=libomp to build properly, not just -fopenmp. Tested on 64-bit Linux using clang 3.7.0.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 855 bytes
Desc: not available
More information about the cmake-developers