diff options
author | Tin Huynh <ahuynh@nvidia.com> | 2017-08-31 16:50:31 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2017-08-31 19:27:18 (GMT) |
commit | d8e03e9ba6f5ad948839ba9b291caa014813d9da (patch) | |
tree | 105ea802ffecb426350e018d9a5275b809ddf887 /Modules | |
parent | 2f3a07a981edfbc325f19ea252003e9da59dbcf5 (diff) | |
download | CMake-d8e03e9ba6f5ad948839ba9b291caa014813d9da.zip CMake-d8e03e9ba6f5ad948839ba9b291caa014813d9da.tar.gz CMake-d8e03e9ba6f5ad948839ba9b291caa014813d9da.tar.bz2 |
FindOpenMP: Add Flang flag.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindOpenMP.cmake | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/FindOpenMP.cmake b/Modules/FindOpenMP.cmake index 1093be0..7566e4a 100644 --- a/Modules/FindOpenMP.cmake +++ b/Modules/FindOpenMP.cmake @@ -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 |