Fix parallel HDF5 detection (#9982)

Alex
This commit is contained in:
Alexander Neundorf 2009-12-09 15:17:55 -05:00
parent 39f851dc7c
commit e5efd87b31
1 changed files with 1 additions and 1 deletions

View File

@ -293,7 +293,7 @@ else()
# HDF5 was compiled with parallel IO support # HDF5 was compiled with parallel IO support
set( HDF5_IS_PARALLEL FALSE ) set( HDF5_IS_PARALLEL FALSE )
foreach( _dir HDF5_INCLUDE_DIRS ) foreach( _dir HDF5_INCLUDE_DIRS )
if( EXISTS "${_dir}/h5pubconf.h" ) if( EXISTS "${_dir}/H5pubconf.h" )
file( STRINGS "${_dir}/H5pubconf.h" file( STRINGS "${_dir}/H5pubconf.h"
HDF5_HAVE_PARALLEL_DEFINE HDF5_HAVE_PARALLEL_DEFINE
REGEX "HAVE_PARALLEL 1" ) REGEX "HAVE_PARALLEL 1" )