mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-27 03:08:35 -06:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user