load("@rules_foreign_cc//foreign_cc:defs.bzl", "cmake") cmake( name = "zlib", generate_args = [ "-GNinja", ], lib_source = "@madler.zlib//:all_srcs", out_static_libs = ["libz.a"], targets = [ "zlibstatic", "zlib", ], visibility = ["//visibility:public"], )