mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-11-25 06:47:48 -05:00
OpenCV compiled its bundled libpng 1.6.37 into opencv_world, so glTF textures decoded with cv::imdecode and images loaded with cv::imread went through that copy instead of the libpng the rest of Orca uses. Turn BUILD_PNG off and depend on dep_PNG, the same way libjpeg is shared. 0002-clang19-macos.patch only patched the bundled copy's pngpriv.h, which is no longer compiled, so drop it.