FindOpenMPΒΆ
Finds OpenMP support
This module can be used to detect OpenMP support in a compiler. If the compiler supports OpenMP, the flags required to compile with OpenMP support are returned in variables for the different languages. The variables may be empty if the compiler does not need a special flag to support OpenMP.
The following variables are set:
OpenMP_C_FLAGSFlags to add to the C compiler for OpenMP support.
OpenMP_CXX_FLAGSFlags to add to the CXX compiler for OpenMP support.
OpenMP_Fortran_FLAGSFlags to add to the Fortran compiler for OpenMP support.
OPENMP_FOUNDTrue if openmp is detected.
The following internal variables are set, if detected:
OpenMP_C_SPEC_DATESpecification date of OpenMP version of C compiler.
OpenMP_CXX_SPEC_DATESpecification date of OpenMP version of CXX compiler.
OpenMP_Fortran_SPEC_DATESpecification date of OpenMP version of Fortran compiler.
The specification dates are formatted as integers of the form
CCYYMM where these represent the decimal digits of the century,
year, and month.