diff options
author | Brad King <brad.king@kitware.com> | 2017-09-01 14:33:07 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2017-09-01 14:33:15 (GMT) |
commit | 900f75868ce41620947ab4ca376d77e12d32830f (patch) | |
tree | cdc5ab34c8c4a046f1651815039b8a605eb8855c /Modules/FindOpenMP.cmake | |
parent | 4f68692807494e944702747af24d412a2b26825b (diff) | |
parent | d8e03e9ba6f5ad948839ba9b291caa014813d9da (diff) | |
download | CMake-900f75868ce41620947ab4ca376d77e12d32830f.zip CMake-900f75868ce41620947ab4ca376d77e12d32830f.tar.gz CMake-900f75868ce41620947ab4ca376d77e12d32830f.tar.bz2 |
Merge topic 'flang'
d8e03e9b FindOpenMP: Add Flang flag.
2f3a07a9 Flang: Add support for flang Fortran compiler
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !1141
Diffstat (limited to 'Modules/FindOpenMP.cmake')
-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 |