PrusaSlicer-NonPlainar/deps/PNG/PNG.cmake
Jason Scurtu d01f6b8d45 add -DDISABLE_DEPENDENCY_TRACKING to libpng.
- fixes "PNG_ARM_NEON_FILE undefined" error
2020-11-28 15:23:38 +01:00

17 lines
347 B
CMake

prusaslicer_add_cmake_project(PNG
GIT_REPOSITORY https://github.com/glennrp/libpng.git
GIT_TAG v1.6.35
DEPENDS ${ZLIB_PKG}
CMAKE_ARGS
-DPNG_SHARED=OFF
-DPNG_STATIC=ON
-DPNG_PREFIX=prusaslicer_
-DPNG_TESTS=OFF
-DDISABLE_DEPENDENCY_TRACKING
)
if (MSVC)
add_debug_dep(dep_PNG)
endif ()