Meta: Add explicit vcpkg dependency for zlib

zlib is already included transitively for other dependencies, include it
explicitly and link it with `LibCompress`.
This commit is contained in:
devgianlu 2025-03-01 17:32:14 +01:00 committed by Jelle Raaijmakers
commit 3d3e77cd3e
Notes: github-actions[bot] 2025-03-19 12:49:22 +00:00
2 changed files with 9 additions and 1 deletions

View file

@ -7,3 +7,6 @@ set(SOURCES
serenity_lib(LibCompress compress) serenity_lib(LibCompress compress)
target_link_libraries(LibCompress PRIVATE LibCore LibCrypto) target_link_libraries(LibCompress PRIVATE LibCore LibCrypto)
find_package(ZLIB REQUIRED)
target_link_libraries(LibCompress PRIVATE ZLIB::ZLIB)

View file

@ -122,7 +122,8 @@
"name": "vulkan-headers", "name": "vulkan-headers",
"platform": "!android" "platform": "!android"
}, },
"woff2" "woff2",
"zlib"
], ],
"overrides": [ "overrides": [
{ {
@ -196,6 +197,10 @@
{ {
"name": "woff2", "name": "woff2",
"version": "1.0.2#4" "version": "1.0.2#4"
},
{
"name": "zlib",
"version": "1.3.1"
} }
] ]
} }