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") set(DW_FZSTD "zstd")
endif() endif()
else() else()
find_package(z REQUIRED) find_package(ZLIB REQUIRED)
set(DW_FZLIB "z") set(DW_FZLIB "ZLIB")
endif() endif()
check_c_source_compiles([=[ check_c_source_compiles([=[