From 7f787167bef196ff9d843e698721ee4ab2b2e7e7 Mon Sep 17 00:00:00 2001 From: Jeremy <51220084+jeremy-rifkin@users.noreply.github.com> Date: Wed, 4 Oct 2023 22:08:24 -0400 Subject: [PATCH] Update zlib findpackage --- bundled/libdwarf/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bundled/libdwarf/CMakeLists.txt b/bundled/libdwarf/CMakeLists.txt index 62244b3..4227dd2 100644 --- a/bundled/libdwarf/CMakeLists.txt +++ b/bundled/libdwarf/CMakeLists.txt @@ -292,8 +292,8 @@ if(NOT CMAKE_DWARF_FINDPACKAGE_Z) set(DW_FZSTD "zstd") endif() else() - find_package(z REQUIRED) - set(DW_FZLIB "z") + find_package(ZLIB REQUIRED) + set(DW_FZLIB "ZLIB") endif() check_c_source_compiles([=[