Merge pull request #233 from bast/radovan/xl-omp
adjust XL Fortran OMP flag; fixes #232
This commit is contained in:
commit
028f0f58c2
@ -61,7 +61,7 @@ if(ENABLE_OPENMP)
|
|||||||
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -mp")
|
set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -mp")
|
||||||
endif()
|
endif()
|
||||||
if(CMAKE_Fortran_COMPILER_ID MATCHES XL)
|
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()
|
endif()
|
||||||
if(CMAKE_Fortran_COMPILER_ID MATCHES Cray)
|
if(CMAKE_Fortran_COMPILER_ID MATCHES Cray)
|
||||||
# do nothing in this case
|
# do nothing in this case
|
||||||
|
Loading…
x
Reference in New Issue
Block a user