summaryrefslogtreecommitdiff
path: root/Modules/FindPNG.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-09 15:33:58 -0500
committerBrad King <brad.king@kitware.com>2006-02-09 15:33:58 -0500
commit3f978317b73800080fd100a884a8fa55ddcf6417 (patch)
tree7c82e158272c3862702556962c9732f7c12360ac /Modules/FindPNG.cmake
parent64cb55439725d26ce19439b12b2022f81e997912 (diff)
downloadcmake-3f978317b73800080fd100a884a8fa55ddcf6417.tar.gz
ENH: Put libpng name back because it is needed for plain windows.
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 0ecb86b86f..861d47196a 100644
--- a/Modules/FindPNG.cmake
+++ b/Modules/FindPNG.cmake
@@ -18,7 +18,7 @@ IF(ZLIB_FOUND)
/usr/include
)
- SET(PNG_NAMES ${PNG_NAMES} png)
+ SET(PNG_NAMES ${PNG_NAMES} png libpng)
FIND_LIBRARY(PNG_LIBRARY
NAMES ${PNG_NAMES}
PATHS /usr/lib /usr/local/lib