diff options
author | Brad King <brad.king@kitware.com> | 2019-07-08 15:43:31 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2019-07-08 15:43:39 (GMT) |
commit | 58d10debe1d71d15d3d0a1731211f4d0ee9e0daa (patch) | |
tree | f3a5388ca3f1027f56791107112643de31f6e189 /Modules/Compiler | |
parent | a6a698aafb8fea7191669d9e9ca2bce0fb3be73f (diff) | |
parent | b0bcd4d7d2cb9defb790514375b78efbf60cc2e8 (diff) | |
download | CMake-58d10debe1d71d15d3d0a1731211f4d0ee9e0daa.zip CMake-58d10debe1d71d15d3d0a1731211f4d0ee9e0daa.tar.gz CMake-58d10debe1d71d15d3d0a1731211f4d0ee9e0daa.tar.bz2 |
Merge topic 'fortran-submodule-cray'
b0bcd4d7d2 Fortran: Add support for submodules on Cray
33de4d27eb Fortran: Support compilers using no module prefix on submodule files
Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3504
Diffstat (limited to 'Modules/Compiler')
-rw-r--r-- | Modules/Compiler/Cray-Fortran.cmake | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Modules/Compiler/Cray-Fortran.cmake b/Modules/Compiler/Cray-Fortran.cmake index dbf28e3..ccb7c2e 100644 --- a/Modules/Compiler/Cray-Fortran.cmake +++ b/Modules/Compiler/Cray-Fortran.cmake @@ -4,6 +4,8 @@ include(Compiler/Cray) __compiler_cray(Fortran) +set(CMAKE_Fortran_SUBMODULE_SEP "") +set(CMAKE_Fortran_SUBMODULE_EXT ".mod") set(CMAKE_Fortran_MODOUT_FLAG -em) set(CMAKE_Fortran_MODDIR_FLAG -J) set(CMAKE_Fortran_MODDIR_DEFAULT .) |