Skip to content

v1.6.45

Latest
Compare
Choose a tag to compare
@furby-tm furby-tm released this 27 Oct 03:13
0eff23a
To use this release of libpng in your own swift project, add libpng as a package dependency in your project's Package.swift file.
// swift-tools-version: 5.8

dependencies: [
  .package(url: "https://github.com/the-swift-collective/libpng.git", from: "1.6.45"),
]
Then, for any target you'd like, add the libpng product as a target dependency.
targets: [
  .target(
    name: "MyLibrary",
    dependencies: [
      /* add the libpng product as a library dependency. */
      .product(name: "LibPNG", package: "libpng"),
    ]
  ),
]