summaryrefslogtreecommitdiffstats
path: root/Modules/Compiler/XL-Fortran.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-06-01 15:59:58 (GMT)
committerBrad King <brad.king@kitware.com>2011-06-01 16:00:48 (GMT)
commit3bb85668686738dd1f036bfa3f9eb482cd1581fb (patch)
treeb0b4bfc0ed57c50826dfb0689f7cf469a076475b /Modules/Compiler/XL-Fortran.cmake
parent5e40058e262336535d5815add127697caad2077d (diff)
downloadCMake-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/Compiler/XL-Fortran.cmake')
-rw-r--r--Modules/Compiler/XL-Fortran.cmake2
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