mirror of
https://github.com/Kitware/CMake.git
synced 2026-05-21 07:18:33 -05:00
FindHDF5: Cray HDF5 Fortran module filename is usually capitalized
This commit is contained in:
committed by
Brad King
parent
9150c818b7
commit
cd6f0ef35a
@@ -772,7 +772,7 @@ if( NOT HDF5_FOUND )
|
|||||||
foreach(__lang IN LISTS HDF5_LANGUAGE_BINDINGS)
|
foreach(__lang IN LISTS HDF5_LANGUAGE_BINDINGS)
|
||||||
# find the HDF5 include directories
|
# find the HDF5 include directories
|
||||||
if("${__lang}" STREQUAL "Fortran")
|
if("${__lang}" STREQUAL "Fortran")
|
||||||
set(HDF5_INCLUDE_FILENAME hdf5.mod)
|
set(HDF5_INCLUDE_FILENAME hdf5.mod HDF5.mod)
|
||||||
elseif("${__lang}" STREQUAL "CXX")
|
elseif("${__lang}" STREQUAL "CXX")
|
||||||
set(HDF5_INCLUDE_FILENAME H5Cpp.h)
|
set(HDF5_INCLUDE_FILENAME H5Cpp.h)
|
||||||
else()
|
else()
|
||||||
|
|||||||
Reference in New Issue
Block a user