summaryrefslogtreecommitdiffstats
path: root/Modules/FindHDF5.cmake
diff options
context:
space:
mode:
authorWillem Deconinck <willem.deconinck@ecmwf.int>2019-10-15 09:08:29 (GMT)
committerBrad King <brad.king@kitware.com>2019-10-15 13:47:58 (GMT)
commitcd6f0ef35a9a7669e95219684f3a8398932a1b4d (patch)
tree3360582718fa3254b516f4b541136426b4284d23 /Modules/FindHDF5.cmake
parent9150c818b7d2afb868575fcb2e0c9ba62b9d7f85 (diff)
downloadCMake-cd6f0ef35a9a7669e95219684f3a8398932a1b4d.zip
CMake-cd6f0ef35a9a7669e95219684f3a8398932a1b4d.tar.gz
CMake-cd6f0ef35a9a7669e95219684f3a8398932a1b4d.tar.bz2
FindHDF5: Cray HDF5 Fortran module filename is usually capitalized
Diffstat (limited to 'Modules/FindHDF5.cmake')
-rw-r--r--Modules/FindHDF5.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
index 08863c8..1823ea7 100644
--- a/Modules/FindHDF5.cmake
+++ b/Modules/FindHDF5.cmake
@@ -772,7 +772,7 @@ if( NOT HDF5_FOUND )
foreach(__lang IN LISTS HDF5_LANGUAGE_BINDINGS)
# find the HDF5 include directories
if("${__lang}" STREQUAL "Fortran")
- set(HDF5_INCLUDE_FILENAME hdf5.mod)
+ set(HDF5_INCLUDE_FILENAME hdf5.mod HDF5.mod)
elseif("${__lang}" STREQUAL "CXX")
set(HDF5_INCLUDE_FILENAME H5Cpp.h)
else()