diff options
author | Tin Huynh <ahuynh@nvidia.com> | 2020-08-26 02:54:13 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-01-27 14:53:02 (GMT) |
commit | 90502d76b7259fb8b417b1a81b504061ce592465 (patch) | |
tree | 6acbe73f4bc26bcebaa13b1c784b3e225aff400f /Modules | |
parent | 76dee5831b82646a06afc3974de2922f4ace79f4 (diff) | |
download | CMake-90502d76b7259fb8b417b1a81b504061ce592465.zip CMake-90502d76b7259fb8b417b1a81b504061ce592465.tar.gz CMake-90502d76b7259fb8b417b1a81b504061ce592465.tar.bz2 |
FindOpenMP: Add support for NVHPC compiler
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 fc5bffa..11c6050 100644 --- a/Modules/FindOpenMP.cmake +++ b/Modules/FindOpenMP.cmake @@ -117,6 +117,7 @@ function(_OPENMP_FLAG_CANDIDATES LANG) set(OMP_FLAG_PathScale "-openmp") set(OMP_FLAG_NAG "-openmp") set(OMP_FLAG_Absoft "-openmp") + set(OMP_FLAG_NVHPC "-mp") set(OMP_FLAG_PGI "-mp") set(OMP_FLAG_Flang "-fopenmp") set(OMP_FLAG_SunPro "-xopenmp") |