mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-13 11:39:43 +00:00
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:
parent
d5b9c39a98
commit
3d3e77cd3e
Notes:
github-actions[bot]
2025-03-19 12:49:22 +00:00
Author: https://github.com/devgianlu
Commit: 3d3e77cd3e
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3755
Reviewed-by: https://github.com/gmta ✅
Reviewed-by: https://github.com/trflynn89
2 changed files with 9 additions and 1 deletions
|
@ -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)
|
||||||
|
|
|
@ -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"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue