summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-07-11 17:01:02 (GMT)
committerBrad King <brad.king@kitware.com>2019-07-11 17:01:02 (GMT)
commit14f69fab54291838170e6e2e9988c81fa8c66a88 (patch)
treea411803f00afb7936262d8bd738865f9369be01d /Modules
parent86ead0b5a32ee48907084a7cf85d00196cbf0366 (diff)
parentb0bcd4d7d2cb9defb790514375b78efbf60cc2e8 (diff)
downloadCMake-14f69fab54291838170e6e2e9988c81fa8c66a88.zip
CMake-14f69fab54291838170e6e2e9988c81fa8c66a88.tar.gz
CMake-14f69fab54291838170e6e2e9988c81fa8c66a88.tar.bz2
Merge branch 'fortran-submodule-cray' into release-3.15
Merge-request: !3504
Diffstat (limited to 'Modules')
-rw-r--r--Modules/Compiler/Cray-Fortran.cmake2
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 .)