View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011291CMakeModulespublic2010-10-06 06:192010-10-26 16:32
Reportermariusmuja 
Assigned ToBrad King 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.3Fixed in VersionCMake 2.8.3 
Summary0011291: Bug in FindHDF5.cmake
DescriptionPatch 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"
TagsNo tags attached.
Attached Files

 Relationships

  Notes
(0022414)
Michael Wild (reporter)
2010-10-06 06:57

It's better to use "foreach(_dir IN LISTS HDF5_INCLUDE_DIRS)" with current CMake.
(0022473)
Brad King (manager)
2010-10-11 09:37

http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=34455326 [^]

 Issue History
Date Modified Username Field Change
2010-10-06 06:19 mariusmuja New Issue
2010-10-06 06:57 Michael Wild Note Added: 0022414
2010-10-11 09:37 Brad King Status new => assigned
2010-10-11 09:37 Brad King Assigned To => Brad King
2010-10-11 09:37 Brad King Note Added: 0022473
2010-10-11 09:37 Brad King Status assigned => closed
2010-10-11 09:37 Brad King Resolution open => fixed
2010-10-26 16:32 David Cole Fixed in Version => CMake 2.8.3
2010-10-26 16:32 David Cole Target Version => CMake 2.8.3


Copyright © 2000 - 2018 MantisBT Team