summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2023-05-04 13:43:23 (GMT)
committerGitHub <noreply@github.com>2023-05-04 13:43:23 (GMT)
commitd0e8878ad4e8b2a24014bfb08b2f93dbd9595950 (patch)
tree38fb74da59028f791c44f4e6aa3ca8c3315e80e1 /config
parent43e7790f0e0b055433df089255b271c8291ca8ec (diff)
downloadhdf5-d0e8878ad4e8b2a24014bfb08b2f93dbd9595950.zip
hdf5-d0e8878ad4e8b2a24014bfb08b2f93dbd9595950.tar.gz
hdf5-d0e8878ad4e8b2a24014bfb08b2f93dbd9595950.tar.bz2
Force lowercase Fortran module file names (#2892)
Diffstat (limited to 'config')
-rw-r--r--config/cmake/HDF5UseFortran.cmake6
1 files changed, 6 insertions, 0 deletions
diff --git a/config/cmake/HDF5UseFortran.cmake b/config/cmake/HDF5UseFortran.cmake
index aae7078..3e058ad 100644
--- a/config/cmake/HDF5UseFortran.cmake
+++ b/config/cmake/HDF5UseFortran.cmake
@@ -17,6 +17,12 @@
enable_language (Fortran)
set (HDF_PREFIX "H5")
+
+# Force lowercase Fortran module file names
+if (CMAKE_Fortran_COMPILER_ID STREQUAL "Cray")
+ set(CMAKE_Fortran_FLAGS "${CMAKE_Fortran_FLAGS} -ef")
+endif ()
+
include (CheckFortranFunctionExists)
include (CheckFortranSourceRuns)