Skip to content

Commit

Permalink
Update libpng to 1.6.43
Browse files Browse the repository at this point in the history
  • Loading branch information
encelo committed Mar 10, 2024
1 parent e5875a9 commit adf4d68
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.41/libpng-1.6.41.tar.gz)
set(URL_MD5_PNG f64507ba698c2dca1f10b202698f62b5)
set(URL_PNG http://downloads.sourceforge.net/project/libpng/libpng16/1.6.43/libpng-1.6.43.tar.gz)
set(URL_MD5_PNG cee1c227d1f23c3a2a72341854b5a83f)
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.41.0.dylib)
set(DYLIBNAME_PNG libpng16d.16.43.0.dylib)
else()
set(DYLIBNAME_PNG libpng16.16.41.0.dylib)
set(DYLIBNAME_PNG libpng16.16.43.0.dylib)
endif()

ExternalProject_Add(project_${TARGET_PNG}
Expand Down

0 comments on commit adf4d68

Please sign in to comment.