[Debian-med-packaging] Bug#835679: Patch for change in FindHDF5.cmake from CMake >= 3.6.0
Sebastiaan Couwenberg
sebastic at xs4all.nl
Sun Aug 28 18:41:18 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: 717 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debian-med-packaging/attachments/20160828/964733a1/attachment.bin>
More information about the Debian-med-packaging
mailing list