summaryrefslogtreecommitdiffstats
path: root/Modules/FindPNG.cmake
diff options
context:
space:
mode:
authorAlex Neundorf <neundorf@kde.org>2010-04-19 16:31:08 (GMT)
committerAlex Neundorf <neundorf@kde.org>2010-04-19 16:32:10 (GMT)
commit0dbd6e8e163ef15ba19581ecd55d49fb4b0dc57f (patch)
tree94916e1d72f25fb76a22606e52f81f987afdbd6a /Modules/FindPNG.cmake
parent41d6430b52ba52e683bb7fbc98602271f80db287 (diff)
downloadCMake-0dbd6e8e163ef15ba19581ecd55d49fb4b0dc57f.zip
CMake-0dbd6e8e163ef15ba19581ecd55d49fb4b0dc57f.tar.gz
CMake-0dbd6e8e163ef15ba19581ecd55d49fb4b0dc57f.tar.bz2
-add more names for libpng, so it also support libpng 1.4 on Windows (#10551)
Alex
Diffstat (limited to 'Modules/FindPNG.cmake')
-rw-r--r--Modules/FindPNG.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindPNG.cmake b/Modules/FindPNG.cmake
index 8df3573..bfc5d4a 100644
--- a/Modules/FindPNG.cmake
+++ b/Modules/FindPNG.cmake
@@ -33,7 +33,7 @@ if(ZLIB_FOUND)
/usr/local/include/libpng # OpenBSD
)
- set(PNG_NAMES ${PNG_NAMES} png libpng png12 libpng12)
+ set(PNG_NAMES ${PNG_NAMES} png libpng png14 libpng14 png14d libpng14d png12 libpng12 png12d libpng12d)
find_library(PNG_LIBRARY NAMES ${PNG_NAMES} )
if (PNG_LIBRARY AND PNG_PNG_INCLUDE_DIR)