mirror of
https://github.com/reactos/CMake.git
synced 2024-11-23 19:49:51 +00:00
FindPNG: Add static libpng names for MSVC
Add names produced by the png upstream buildsystem for static libraries with MSVC.
This commit is contained in:
parent
a2319c04f6
commit
95f8b0aec7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user