Building ParaView with VTK_USE_SYSTEM_HDF5 =ON fails when HDF5 in not installed globally.
This issue was created automatically from an original Mantis Issue. Further discussion may take place here.
The problem appears to be that HDF5_INCLUDE_DIR is not set correctly in ParaViewCommon.cmake.
######################################################################### # Configure HDF5 IF(VTK_USE_SYSTEM_HDF5) SET(PARAVIEW_HDF5_LIBRARIES ${VTK_HDF5_LIBRARIES}) SET(HDF5_INCLUDE_DIR ${VTK_HDF5_INCLUDE_DIRS}) ELSE() ... ENDIF()It seems to be using a VTK_HDF5_INCLUDE_DIRS variable that's never set, it seems.