XL: Place Fortran modules with -qmoddir= flag (#12246)

Suggested-by: Luis Kornblueh <luis.kornblueh@zmaw.de>
This commit is contained in:
Brad King 2011-06-01 11:59:58 -04:00
parent 5e40058e26
commit 3bb8566868
1 changed files with 2 additions and 0 deletions

View File

@ -1,6 +1,8 @@
include(Compiler/XL) include(Compiler/XL)
__compiler_xl(Fortran) __compiler_xl(Fortran)
SET(CMAKE_Fortran_MODDIR_FLAG "-qmoddir=")
SET(CMAKE_Fortran_DEFINE_FLAG "-WF,-D") SET(CMAKE_Fortran_DEFINE_FLAG "-WF,-D")
# -qthreaded = Ensures that all optimizations will be thread-safe # -qthreaded = Ensures that all optimizations will be thread-safe