FindOpenMP: Add Flang flag.

This commit is contained in:
Tin Huynh
2017-08-31 09:50:31 -07:00
committed by Brad King
parent 2f3a07a981
commit d8e03e9ba6

View File

@@ -95,6 +95,7 @@ function(_OPENMP_FLAG_CANDIDATES LANG)
set(OMP_FLAG_NAG "-openmp")
set(OMP_FLAG_Absoft "-openmp")
set(OMP_FLAG_PGI "-mp")
set(OMP_FLAG_Flang "-fopenmp")
set(OMP_FLAG_SunPro "-xopenmp")
set(OMP_FLAG_XL "-qsmp=omp")
# Cray compiles with OpenMP automatically