PNG.cmake 309 B

123456789101112131415
  1. prusaslicer_add_cmake_project(PNG
  2. GIT_REPOSITORY https://github.com/glennrp/libpng.git
  3. GIT_TAG v1.6.35
  4. DEPENDS ${ZLIB_PKG}
  5. CMAKE_ARGS
  6. -DPNG_SHARED=OFF
  7. -DPNG_STATIC=ON
  8. -DPNG_PREFIX=prusaslicer_
  9. -DPNG_TESTS=OFF
  10. )
  11. if (MSVC)
  12. add_debug_dep(dep_PNG)
  13. endif ()