From e529aaa94f24ba9a9d1d374f4ac6a23cb913c995 Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Wed, 4 Oct 2023 22:11:02 -0400 Subject: [PATCH] Update zlib checks --- bundled/libdwarf/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bundled/libdwarf/CMakeLists.txt b/bundled/libdwarf/CMakeLists.txt index 4227dd2..71abcb0 100644 --- a/bundled/libdwarf/CMakeLists.txt +++ b/bundled/libdwarf/CMakeLists.txt @@ -294,6 +294,8 @@ if(NOT CMAKE_DWARF_FINDPACKAGE_Z) else() find_package(ZLIB REQUIRED) set(DW_FZLIB "ZLIB") + set(HAVE_ZLIB TRUE) + set(HAVE_ZLIB_H TRUE) endif() check_c_source_compiles([=[