Merge topic 'FindPNG-1.8' into release-4.3

20e8abca1a FindPNG: Add version 1.8

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !11786
This commit is contained in:
Brad King
2026-03-07 14:12:50 +00:00
committed by Kitware Robot

View File

@@ -105,7 +105,7 @@ endif()
find_package(ZLIB ${_FIND_ZLIB_ARG})
if(ZLIB_FOUND)
set(_PNG_VERSION_SUFFIXES 17 16 15 14 12)
set(_PNG_VERSION_SUFFIXES 18 17 16 15 14 12)
list(APPEND _PNG_INCLUDE_PATH_SUFFIXES include/libpng)
foreach(v IN LISTS _PNG_VERSION_SUFFIXES)