ENH: Put libpng name back because it is needed for plain windows.

This commit is contained in:
Brad King 2006-02-09 15:33:58 -05:00
parent 64cb554397
commit 3f978317b7

View File

@ -18,7 +18,7 @@ IF(ZLIB_FOUND)
/usr/include /usr/include
) )
SET(PNG_NAMES ${PNG_NAMES} png) SET(PNG_NAMES ${PNG_NAMES} png libpng)
FIND_LIBRARY(PNG_LIBRARY FIND_LIBRARY(PNG_LIBRARY
NAMES ${PNG_NAMES} NAMES ${PNG_NAMES}
PATHS /usr/lib /usr/local/lib PATHS /usr/lib /usr/local/lib