[cmake-developers] [CMake 0011291]: Bug in FindHDF5.cmake

Mantis Bug Tracker mantis at public.kitware.com
Wed Oct 6 06:19:50 EDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
http://public.kitware.com/Bug/view.php?id=11291 
====================================================================== 
Reported By:                mariusmuja
Assigned To:                
====================================================================== 
Project:                    CMake
Issue ID:                   11291
Category:                   Modules
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2010-10-06 06:19 EDT
Last Modified:              2010-10-06 06:19 EDT
====================================================================== 
Summary:                    Bug in FindHDF5.cmake
Description: 
Patch below:

--- FindHDF5.cmake.old  2010-10-06 03:16:57.661350963 -0700
+++ FindHDF5.cmake      2010-10-06 03:03:46.953350359 -0700
@@ -293,7 +293,7 @@
     # 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 ${HDF5_INCLUDE_DIRS} )
         message("Looking in include dir: ${_dir}")
         if( EXISTS "${_dir}/H5pubconf.h" )
             file( STRINGS "${_dir}/H5pubconf.h"
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-10-06 06:19 mariusmuja     New Issue                                    
======================================================================




More information about the cmake-developers mailing list