From 0dbd6e8e163ef15ba19581ecd55d49fb4b0dc57f Mon Sep 17 00:00:00 2001 From: Alex Neundorf Date: Mon, 19 Apr 2010 18:31:08 +0200 Subject: [PATCH] -add more names for libpng, so it also support libpng 1.4 on Windows (#10551) Alex --- Modules/FindPNG.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/FindPNG.cmake b/Modules/FindPNG.cmake index 8df3573e9..bfc5d4aa1 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)