comparison OrthancFramework/Resources/CMake/LibPngConfiguration.cmake @ 5506:0446fa29de49

upgraded to libpng 1.6.40
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 24 Jan 2024 17:56:18 +0100
parents 48b8dae6dc77
children 5b3a509185b2
comparison
equal deleted inserted replaced
5505:b305bc32b77d 5506:0446fa29de49
18 # License along with this program. If not, see 18 # License along with this program. If not, see
19 # <http://www.gnu.org/licenses/>. 19 # <http://www.gnu.org/licenses/>.
20 20
21 21
22 if (STATIC_BUILD OR NOT USE_SYSTEM_LIBPNG) 22 if (STATIC_BUILD OR NOT USE_SYSTEM_LIBPNG)
23 SET(LIBPNG_SOURCES_DIR ${CMAKE_BINARY_DIR}/libpng-1.6.36) 23 SET(LIBPNG_SOURCES_DIR ${CMAKE_BINARY_DIR}/libpng-1.6.40)
24 SET(LIBPNG_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/libpng-1.6.36.tar.gz") 24 SET(LIBPNG_URL "https://orthanc.uclouvain.be/downloads/third-party-downloads/libpng-1.6.40.tar.gz")
25 SET(LIBPNG_MD5 "65afdeaa05f5ec14e31d9276143012e9") 25 SET(LIBPNG_MD5 "ec4b597c3a9b1f8d2826575f530367b7")
26 26
27 DownloadPackage(${LIBPNG_MD5} ${LIBPNG_URL} "${LIBPNG_SOURCES_DIR}") 27 DownloadPackage(${LIBPNG_MD5} ${LIBPNG_URL} "${LIBPNG_SOURCES_DIR}")
28 28
29 include_directories( 29 include_directories(
30 BEFORE SYSTEM
30 ${LIBPNG_SOURCES_DIR} 31 ${LIBPNG_SOURCES_DIR}
31 ) 32 )
32 33
33 configure_file( 34 configure_file(
34 ${LIBPNG_SOURCES_DIR}/scripts/pnglibconf.h.prebuilt 35 ${LIBPNG_SOURCES_DIR}/scripts/pnglibconf.h.prebuilt