Linking libhdf5-dev with CMake

CMake links HDF5 into your C, C++, or Fortran program with just a few lines in your CMake file. I have an example CMake for writing network data to HDF5 in C, but we can create an even simpler example below used with a simple HDF5 read/write example:

apt install libhdf5-dev