FindOpenMP: Add support for NVHPC compiler

This commit is contained in:
Tin Huynh
2020-08-25 19:54:13 -07:00
committed by Brad King
parent 76dee5831b
commit 90502d76b7

View File

@@ -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")