summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorTin Huynh <ahuynh@nvidia.com>2017-08-31 16:50:31 (GMT)
committerBrad King <brad.king@kitware.com>2017-08-31 19:27:18 (GMT)
commitd8e03e9ba6f5ad948839ba9b291caa014813d9da (patch)
tree105ea802ffecb426350e018d9a5275b809ddf887 /Modules
parent2f3a07a981edfbc325f19ea252003e9da59dbcf5 (diff)
downloadCMake-d8e03e9ba6f5ad948839ba9b291caa014813d9da.zip
CMake-d8e03e9ba6f5ad948839ba9b291caa014813d9da.tar.gz
CMake-d8e03e9ba6f5ad948839ba9b291caa014813d9da.tar.bz2
FindOpenMP: Add Flang flag.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindOpenMP.cmake1
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