14 lines
274 B
CMake
14 lines
274 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_TESTS=OFF
|
||
|
)
|
||
|
|
||
|
if (MSVC)
|
||
|
add_debug_dep(dep_PNG)
|
||
|
endif ()
|