This is a bit late but in case anyone else has this same issue, I found that using the -DENABLE_HDF5=ON option is also needed when using cmake to build MOAB and not just -DENABLE_NETCDF=ON as per the issue here.
This is a bit late but in case anyone else has this same issue, I found that using the -DENABLE_HDF5=ON option is also needed when using cmake to build MOAB and not just -DENABLE_NETCDF=ON as per the issue here.