• Kenneth Leiter's avatar
    COMP: Fix compilation against hdf5 when built with parallel. · af68e41f
    Kenneth Leiter authored
    HDF5 doesn't provide #ifndef blocks to prevent users of the library from undefining
    unneeded sections of code (in this case H5_HAVE_PARALLEL). This leads to mpi.h
    being needed when including hdf5.h even though we currently don't use the MPI writing
    capabilities. Thus, we will need to find and include mpi headers when HDF5_IS_PARALLEL
    is detected by cmake.
    af68e41f
CMakeLists.txt 3.09 KB