--- a/ThirdParty/hdf5/module.cmake Mon Nov 14 17:59:47 2016 +++ b/ThirdParty/hdf5/module.cmake Thu Jan 05 21:23:20 2017 @@ -5,6 +5,7 @@ endif() if(VTK_USE_SYSTEM_HDF5) set(vtkhdf5_LIBRARIES ${HDF5_LIBRARIES} ${HDF5_HL_LIBRARIES}) + set(vtkhdf5_DEFINITIONS ${HDF5_DEFINITIONS}) endif() vtk_module(vtkhdf5 EXCLUDE_FROM_WRAPPING