Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

CMake use -openmp instead of -qopenmp for Intel Compiler

I'm building OpenCV on a Xeon Phi using the Intel Compiler v16. These are the cmake settings:


However, using -DWITH_OPENMP=ON produces the flag -openmp which is depecrated, instead it should use -qopenmp. How can I tell to cmake to use the correct flag?