Skip to content

Commit

Permalink
Update libpng to 1.6.45
Browse files Browse the repository at this point in the history
  • Loading branch information
encelo committed Jan 10, 2025
1 parent cec7ba8 commit f105967
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions cmake/png.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ if(NOT DEFINED TARGET_ZLIB)
endif()

set(TARGET_PNG png)
set(URL_PNG http://downloads.sourceforge.net/project/libpng/libpng16/1.6.44/libpng-1.6.44.tar.gz)
set(URL_MD5_PNG a780d4929c0bb47aaaf53d2e080b2a79)
set(URL_PNG http://downloads.sourceforge.net/project/libpng/libpng16/1.6.45/libpng-1.6.45.tar.gz)
set(URL_MD5_PNG 128e4729c6f0f77757903078c90496ea)
set(LIBNAME_PNG libpng16)
set(COMMON_CMAKE_ARGS_PNG -DZLIB_ROOT=${BUILDDIR_ZLIB} -DPNG_TESTS=OFF)
set(BUILDDIR_ZLIB ${EP_BASE}/Build/project_${TARGET_ZLIB})
Expand Down Expand Up @@ -41,9 +41,9 @@ if(MSVC)
elseif(APPLE)
set(FRAMEWORK_DIR_PNG ${DESTINATION_PATH}/${TARGET_PNG}.framework)
if(CMAKE_BUILD_TYPE STREQUAL "Debug")
set(DYLIBNAME_PNG libpng16d.16.44.0.dylib)
set(DYLIBNAME_PNG libpng16d.16.45.0.dylib)
else()
set(DYLIBNAME_PNG libpng16.16.44.0.dylib)
set(DYLIBNAME_PNG libpng16.16.45.0.dylib)
endif()

ExternalProject_Add(project_${TARGET_PNG}
Expand Down

0 comments on commit f105967

Please sign in to comment.