Update zlib findpackage
This commit is contained in:
parent
58130d7ed2
commit
7f787167be
4
bundled/libdwarf/CMakeLists.txt
vendored
4
bundled/libdwarf/CMakeLists.txt
vendored
@ -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([=[
|
||||
|
||||
Loading…
Reference in New Issue
Block a user