diff options
author | Steve Robinson <ssrobins@gmail.com> | 2019-07-13 02:17:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-07-15 12:08:27 (GMT) |
commit | 95f8b0aec750031ddecccea46012257528feb518 (patch) | |
tree | 520f746967b01f93d512bce649e652a37b7e6f1a /Modules | |
parent | a2319c04f6c6b881b2cd37ec33378c4781f415e1 (diff) | |
download | CMake-95f8b0aec750031ddecccea46012257528feb518.zip CMake-95f8b0aec750031ddecccea46012257528feb518.tar.gz CMake-95f8b0aec750031ddecccea46012257528feb518.tar.bz2 |
FindPNG: Add static libpng names for MSVC
Add names produced by the png upstream buildsystem for static
libraries with MSVC.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/FindPNG.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/FindPNG.cmake b/Modules/FindPNG.cmake index a7908c5..bd400c7 100644 --- a/Modules/FindPNG.cmake +++ b/Modules/FindPNG.cmake @@ -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 |