Merge topic 'FindPNG-msvc-static'

95f8b0aec7 FindPNG: Add static libpng names for MSVC

Acked-by: Kitware Robot <kwrobot@kitware.com>
Merge-request: !3552
This commit is contained in:
Brad King
2019-07-16 11:23:44 +00:00
committed by Kitware Robot

View File

@@ -69,8 +69,8 @@ if(ZLIB_FOUND)
unset(_PNG_VERSION_SUFFIX_MIN)
endif ()
foreach(v IN LISTS _PNG_VERSION_SUFFIXES)
list(APPEND PNG_NAMES png${v} libpng${v})
list(APPEND PNG_NAMES_DEBUG png${v}d libpng${v}d)
list(APPEND PNG_NAMES png${v} libpng${v} libpng${v}_static)
list(APPEND PNG_NAMES_DEBUG png${v}d libpng${v}d libpng${v}_staticd)
endforeach()
unset(_PNG_VERSION_SUFFIXES)
# For compatibility with versions prior to this multi-config search, honor