summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-10-11 13:35:46 (GMT)
committerBrad King <brad.king@kitware.com>2010-10-11 13:35:46 (GMT)
commit344553265237e3bb5c82351f7829ac8ef396dd99 (patch)
tree672ac54b63a7ff8d3033f803a3fcce9312e8f9b1 /Modules
parent3138cc503b3645a44f9457915d6987b96b828982 (diff)
downloadCMake-344553265237e3bb5c82351f7829ac8ef396dd99.zip
CMake-344553265237e3bb5c82351f7829ac8ef396dd99.tar.gz
CMake-344553265237e3bb5c82351f7829ac8ef396dd99.tar.bz2
FindHDF5: Fix typo in parallel-IO support check (#11291)
Diffstat (limited to 'Modules')
-rw-r--r--Modules/FindHDF5.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindHDF5.cmake b/Modules/FindHDF5.cmake
index 467b09f..30203f2 100644
--- a/Modules/FindHDF5.cmake
+++ b/Modules/FindHDF5.cmake
@@ -293,7 +293,7 @@ else()
# If the HDF5 include directory was found, open H5pubconf.h to determine if
# HDF5 was compiled with parallel IO support
set( HDF5_IS_PARALLEL FALSE )
- foreach( _dir HDF5_INCLUDE_DIRS )
+ foreach( _dir IN LISTS HDF5_INCLUDE_DIRS )
if( EXISTS "${_dir}/H5pubconf.h" )
file( STRINGS "${_dir}/H5pubconf.h"
HDF5_HAVE_PARALLEL_DEFINE