diff options
author | Brad King <brad.king@kitware.com> | 2011-06-01 15:59:58 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2011-06-01 16:00:48 (GMT) |
commit | 3bb85668686738dd1f036bfa3f9eb482cd1581fb (patch) | |
tree | b0b4bfc0ed57c50826dfb0689f7cf469a076475b /Modules | |
parent | 5e40058e262336535d5815add127697caad2077d (diff) | |
download | CMake-3bb85668686738dd1f036bfa3f9eb482cd1581fb.zip CMake-3bb85668686738dd1f036bfa3f9eb482cd1581fb.tar.gz CMake-3bb85668686738dd1f036bfa3f9eb482cd1581fb.tar.bz2 |
XL: Place Fortran modules with -qmoddir= flag (#12246)
Suggested-by: Luis Kornblueh <luis.kornblueh@zmaw.de>
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/Compiler/XL-Fortran.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/XL-Fortran.cmake b/Modules/Compiler/XL-Fortran.cmake index e6f2317..d88b3f3 100644 --- a/Modules/Compiler/XL-Fortran.cmake +++ b/Modules/Compiler/XL-Fortran.cmake @@ -1,6 +1,8 @@ include(Compiler/XL) __compiler_xl(Fortran) +SET(CMAKE_Fortran_MODDIR_FLAG "-qmoddir=") + SET(CMAKE_Fortran_DEFINE_FLAG "-WF,-D") # -qthreaded = Ensures that all optimizations will be thread-safe |