diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake index 88b547c7c..d94d110d8 100644 --- a/Modules/FindHDF5.cmake +++ b/Modules/FindHDF5.cmake @@ -293,7 +293,7 @@ else() # HDF5 was compiled with parallel IO support set( HDF5_IS_PARALLEL FALSE ) foreach( _dir HDF5_INCLUDE_DIRS ) - if( EXISTS "${_dir}/h5pubconf.h" ) + if( EXISTS "${_dir}/H5pubconf.h" ) file( STRINGS "${_dir}/H5pubconf.h" HDF5_HAVE_PARALLEL_DEFINE REGEX "HAVE_PARALLEL 1" )