FindOpenMP doesn't create correct compile option for intel c++ compiler in the Windows platform
CMake version: 3.16.0
Intel C++ compiler version: 19.1
The OPENMP_CXX_FLAGS
and OPENMP_C_FLAGS
generated by FindOpenMP.cmake is -Qopenmp
.
In Intel's document, it should be /Qopenmp
in the Windows platform.
However, -Qopenmp
works anyway.