From f02ecb21dd96a2445d988e8684a015fac9c30afd Mon Sep 17 00:00:00 2001 From: Allen Byrne <50328838+byrnHDF@users.noreply.github.com> Date: Thu, 22 Feb 2024 14:55:15 -0600 Subject: Fix missing NOT from if check in HL folder (#4036) --- hl/CMakeLists.txt | 2 +- hl/test/test_dset_append.c | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/hl/CMakeLists.txt b/hl/CMakeLists.txt index 45a9a22..ab4bc79 100644 --- a/hl/CMakeLists.txt +++ b/hl/CMakeLists.txt @@ -26,6 +26,6 @@ if (HDF5_BUILD_EXAMPLES) endif () #-- Build the Unit testing if requested -if (HDF5_EXTERNALLY_CONFIGURED AND BUILD_TESTING AND HDF5_TEST_SERIAL) +if (NOT HDF5_EXTERNALLY_CONFIGURED AND BUILD_TESTING AND HDF5_TEST_SERIAL) add_subdirectory (test) endif () diff --git a/hl/test/test_dset_append.c b/hl/test/test_dset_append.c index 4b07582..0971cf3 100644 --- a/hl/test/test_dset_append.c +++ b/hl/test/test_dset_append.c @@ -13,13 +13,6 @@ #include "h5hltest.h" #include "H5DOpublic.h" -#if defined(H5_HAVE_ZLIB_H) && !defined(H5_ZLIB_HEADER) -#define H5_ZLIB_HEADER "zlib.h" -#endif -#if defined(H5_ZLIB_HEADER) -#include H5_ZLIB_HEADER /* "zlib.h" */ -#endif - #define FILENAME "test_append.h5" #define DNAME_NOTSET "dataset_notset" #define DNAME_UNLIM "dataset_unlim" -- cgit v0.12