Browse Source

FindOpenMP: Add support for Fujitsu compilers

Co-Author: Yuichiro Utsumi <[email protected]>
Chuck Atkins 6 years ago
parent
commit
376c300b25
1 changed files with 2 additions and 0 deletions
  1. 2 0
      Modules/FindOpenMP.cmake

+ 2 - 0
Modules/FindOpenMP.cmake

@@ -130,6 +130,8 @@ function(_OPENMP_FLAG_CANDIDATES LANG)
     set(OMP_FLAG_XL "-qsmp=omp")
     # Cray compiler activate OpenMP with -h omp, which is enabled by default.
     set(OMP_FLAG_Cray " " "-h omp")
+    set(OMP_FLAG_Fujitsu "-Kopenmp" "-KOMP")
+    set(OMP_FLAG_FujitsuClang "-fopenmp" "-Kopenmp")
 
     # If we know the correct flags, use those
     if(DEFINED OMP_FLAG_${CMAKE_${LANG}_COMPILER_ID})