# 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_FLAGS`
  Flags to add to the C compiler for OpenMP support.
`OpenMP_CXX_FLAGS`
  Flags to add to the CXX compiler for OpenMP support.
`OpenMP_Fortran_FLAGS`
  Flags to add to the Fortran compiler for OpenMP support.
`OPENMP_FOUND`
  True if openmp is detected.

The following internal variables are set, if detected:

`OpenMP_C_SPEC_DATE`
  Specification date of OpenMP version of C compiler.
`OpenMP_CXX_SPEC_DATE`
  Specification date of OpenMP version of CXX compiler.
`OpenMP_Fortran_SPEC_DATE`
  Specification 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.