summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-03-02 15:47:44 (GMT)
committerKitware Robot <kwrobot@kitware.com>2020-03-02 15:48:05 (GMT)
commit178a166ae154effcd0f578bdca45744de956d4f9 (patch)
tree237f11f5685d61f5f77128c8d14a2d04545c55c5 /Modules
parent813b505c67a0ab49d3b87ddc0577c6fc38190b50 (diff)
parent92785ed74645e2331fca15ca1f657377c936a795 (diff)
downloadCMake-178a166ae154effcd0f578bdca45744de956d4f9.zip
CMake-178a166ae154effcd0f578bdca45744de956d4f9.tar.gz
CMake-178a166ae154effcd0f578bdca45744de956d4f9.tar.bz2
Merge topic 'xl-fortran-module-dir-use'
92785ed746 Tests: Enable Fortran submodule tests on XL compilers 210b0b99a9 XL: Fix using Fortran modules from their output directory Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !4405
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/XL-Fortran.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/Compiler/XL-Fortran.cmake b/Modules/Compiler/XL-Fortran.cmake
index 1683dff..e01ec8e 100644
--- a/Modules/Compiler/XL-Fortran.cmake
+++ b/Modules/Compiler/XL-Fortran.cmake
@@ -8,6 +8,7 @@ set(CMAKE_Fortran_FORMAT_FIXED_FLAG "-qfixed") # [=<right_margin>]
set(CMAKE_Fortran_FORMAT_FREE_FLAG "-qfree") # [=f90|ibm]
set(CMAKE_Fortran_MODDIR_FLAG "-qmoddir=")
+set(CMAKE_Fortran_MODDIR_INCLUDE_FLAG "-I") # -qmoddir= does not affect search path
set(CMAKE_Fortran_DEFINE_FLAG "-WF,-D")