summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2011-06-02 15:29:22 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2011-06-02 15:29:22 (GMT)
commit87b8b3c0a0f780daffa4e311e583b02eb8d61e15 (patch)
treec35856036a8db63c4003c786d1b6fc832c5da904
parent170b4e5eae5d93ab130b680f23f323d45fee12ec (diff)
parent3bb85668686738dd1f036bfa3f9eb482cd1581fb (diff)
downloadCMake-87b8b3c0a0f780daffa4e311e583b02eb8d61e15.zip
CMake-87b8b3c0a0f780daffa4e311e583b02eb8d61e15.tar.gz
CMake-87b8b3c0a0f780daffa4e311e583b02eb8d61e15.tar.bz2
Merge topic 'XL-Fortran-moddir-issue-12246'
3bb8566 XL: Place Fortran modules with -qmoddir= flag (#12246)
-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