diff --git a/modules/omp.cmake b/modules/omp.cmake index ed32d0a..1c85040 100644 --- a/modules/omp.cmake +++ b/modules/omp.cmake @@ -61,7 +61,7 @@ if(ENABLE_OPENMP) set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -mp") endif() if(CMAKE_Fortran_COMPILER_ID MATCHES XL) - set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qsmp") + set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -qsmp=omp") endif() if(CMAKE_Fortran_COMPILER_ID MATCHES Cray) # do nothing in this case