Files
OrcaSlicer/deps/PNG/PNG.cmake
mosfet80 710341338c Update libpng to 1.6.59 (#16819)
libpng 1.6.35 was from 2018, and 1.6.59 includes the security fixes released since then. The local patches and the NEON workarounds are removed, because 1.6.59 already handles the macOS target architecture, the clang 19 build on macOS, and NEON on Windows ARM64. Apple arm64 builds now use NEON, which is the libpng default.
2026-10-24 21:16:49 -05:00

16 lines
463 B
CMake

orcaslicer_add_cmake_project(PNG
URL https://github.com/glennrp/libpng/archive/refs/tags/v1.6.59.zip
URL_HASH SHA256=6fd97a1e5e2ac55cec0a538a9800a351eb3844086736291844ebd12db72ba433
DEPENDS ${ZLIB_PKG}
CMAKE_ARGS
-DPNG_SHARED=OFF
-DPNG_STATIC=ON
-DPNG_PREFIX=prusaslicer_
-DPNG_TESTS=OFF
-DDISABLE_DEPENDENCY_TRACKING=OFF
)
if (MSVC)
add_debug_dep(dep_PNG)
endif ()