diff options
author | Scot Breitenfeld <brtnfld@hdfgroup.org> | 2023-05-04 03:03:58 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-04 03:03:58 (GMT) |
commit | 654dd01525fe0e46e4bd084421c747ae223452c9 (patch) | |
tree | 03ad0dcd315c64ce306cd51ec247b3c990572029 /config/cmake/HDF5UseFortran.cmake | |
parent | 25a8ba9fde67d1287e1966f3155aece2fdb46f9a (diff) | |
download | hdf5-654dd01525fe0e46e4bd084421c747ae223452c9.zip hdf5-654dd01525fe0e46e4bd084421c747ae223452c9.tar.gz hdf5-654dd01525fe0e46e4bd084421c747ae223452c9.tar.bz2 |
Force lowercase Fortran module file names (#2891)
* fixed args in execvp for h5fuse
* Force lowercase Fortran module file names for Cray compilers
Diffstat (limited to 'config/cmake/HDF5UseFortran.cmake')
-rw-r--r-- | config/cmake/HDF5UseFortran.cmake | 6 |
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) |