Bug#835680: Patch for change in FindHDF5.cmake from CMake >= 3.6.0
Sebastiaan Couwenberg
sebastic at xs4all.nl
Sun Aug 28 19:04:01 UTC 2016
Control: tags -1 upstream patch
Hi,
This is a common issue affecting all reverse dependencies of HDF5 using
CMake.
The recent update to CMake 3.6.x caused the failure because the
HDF5_INCLUDE_DIR variable is no longer set by FindHDF5.cmake.
HDF5_INCLUDE_DIR has been deprecated some time ago, only
HDF5_INCLUDE_DIRS is set for CMake >= 3.6.0.
The attached patch supports both by setting HDF5_INCLUDE_DIR to the
value of HDF5_INCLUDE_DIRS if the former is not defined but the latter is.
Kind Regards,
Bas
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake-3.6-hdf5.patch
Type: inode/symlink
Size: 597 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-science-maintainers/attachments/20160828/847fa989/attachment.bin>
More information about the debian-science-maintainers
mailing list