summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2010-10-12 15:12:00 (GMT)
committerCMake Topic Stage <kwrobot@kitware.com>2010-10-12 15:12:00 (GMT)
commite4508ac82fce1687ce7352ddf1e32bf9d9f90570 (patch)
tree27d3ae56c191a65be26de6ec00fa16b971e36ca3 /Modules
parent0ecc8a409c104b9669a8bfed3366098662c0dece (diff)
parent344553265237e3bb5c82351f7829ac8ef396dd99 (diff)
downloadCMake-e4508ac82fce1687ce7352ddf1e32bf9d9f90570.zip
CMake-e4508ac82fce1687ce7352ddf1e32bf9d9f90570.tar.gz
CMake-e4508ac82fce1687ce7352ddf1e32bf9d9f90570.tar.bz2
Merge topic 'FindHDF5-is-parallel'
3445532 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