Ensured dependencies are linked against properly.
@@ -38,6 +38,10 @@ TARGET_LINK_LIBRARIES(ncdump netcdf ${ALL_TLL_LIBS})
TARGET_LINK_LIBRARIES(nccopy netcdf ${ALL_TLL_LIBS})
TARGET_LINK_LIBRARIES(ncvalidator netcdf ${ALL_TLL_LIBS})
+IF(USE_HDF5)
+ TARGET_LINK_LIBRARIES(nc4print netcdf ${ALL_TLL_LIBS})
+ENDIF(USE_HDF5)
+
IF(ENABLE_DAP)
TARGET_LINK_LIBRARIES(ocprint netcdf ${ALL_TLL_LIBS})
ENDIF(ENABLE_DAP)
