fix build macos
@@ -24,6 +24,9 @@ fn main() {
let dst = cmake::Config::new("cfltk")
.generator("Ninja")
.define("OPTION_BUILD_EXAMPLES","OFF")
+ .define("OPTION_USE_SYSTEM_ZLIB","ON")
+ .define("OPTION_USE_SYSTEM_LIBPNG","OFF")
+ .define("OPTION_USE_SYSTEM_LIBJPEG","ON")
.build();
println!("cargo:rustc-link-search=native={}", dst.join("build").display());
println!("cargo:rustc-link-search=native={}", dst.join("lib").display());
