Update zlib findpackage

This commit is contained in:
Jeremy 2023-10-04 22:08:24 -04:00
parent 58130d7ed2
commit 7f787167be
No known key found for this signature in database
GPG Key ID: 19AA8270105E8EB4

View File

@ -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([=[