Update zlib handling again
This commit is contained in:
parent
e529aaa94f
commit
f38b693e74
4
bundled/libdwarf/CMakeLists.txt
vendored
4
bundled/libdwarf/CMakeLists.txt
vendored
@ -445,7 +445,11 @@ target_include_directories(
|
|||||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}>
|
||||||
)
|
)
|
||||||
|
|
||||||
|
if(CMAKE_DWARF_FINDPACKAGE_Z)
|
||||||
|
target_link_libraries(dwarf PUBLIC ZLIB::ZLIB)
|
||||||
|
else()
|
||||||
target_link_libraries(dwarf PUBLIC ${DW_FZLIB} ${DW_FZSTD})
|
target_link_libraries(dwarf PUBLIC ${DW_FZLIB} ${DW_FZSTD})
|
||||||
|
endif()
|
||||||
|
|
||||||
# TODO: Something will have to be figured out for dynamic linking, but for now there's nothing to install
|
# TODO: Something will have to be figured out for dynamic linking, but for now there's nothing to install
|
||||||
# if(NOT CMAKE_SKIP_INSTALL_RULES)
|
# if(NOT CMAKE_SKIP_INSTALL_RULES)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user