mirror of
https://github.com/microsoft/vcpkg.git
synced 2024-11-28 02:39:07 +08:00
22 lines
374 B
Plaintext
22 lines
374 B
Plaintext
import("//build/config/linux/pkg_config.gni")
|
|
|
|
pkg_config("system_zlib") {
|
|
packages = [ "zlib" ]
|
|
defines = [ "USE_SYSTEM_ZLIB=1" ]
|
|
}
|
|
|
|
config("zlib_config") {
|
|
if(is_win && !is_component_build) {
|
|
ldflags = ["/ignore:4099"] # needed on VCPKG CI builds
|
|
}
|
|
configs = [
|
|
":system_zlib",
|
|
]
|
|
}
|
|
|
|
source_set("zlib") {
|
|
public_configs = [
|
|
":system_zlib",
|
|
]
|
|
}
|