From 923da4669925bd29d38b6ba9e19d893fe608dc37 Mon Sep 17 00:00:00 2001 From: Greg Sjaardema Date: Tue, 28 Feb 2017 08:59:26 -0700 Subject: [PATCH] Remove libz dependency The libz dependency is added automatically (if needed) in the FindHDF5.cmake file and is not needed here. In addition, the dependency can exist for both serial and parallel, so the test as it existed here was incorrect. --- tribits/common_tpls/FindTPLHDF5.cmake | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tribits/common_tpls/FindTPLHDF5.cmake b/tribits/common_tpls/FindTPLHDF5.cmake index c8759874e..7c55c6bb6 100644 --- a/tribits/common_tpls/FindTPLHDF5.cmake +++ b/tribits/common_tpls/FindTPLHDF5.cmake @@ -17,10 +17,6 @@ IF (HDF5_REQUIRE_FORTRAN) SET(REQUIRED_LIBS_NAMES ${REQUIRED_LIBS_NAMES} hdf5_fortran) ENDIF() -IF (TPL_ENABLE_MPI) - SET(REQUIRED_LIBS_NAMES ${REQUIRED_LIBS_NAMES} z) -ENDIF() - IF (TPL_ENABLE_Netcdf) SET(REQUIRED_LIBS_NAMES ${REQUIRED_LIBS_NAMES} hdf5_hl) ENDIF()