summaryrefslogtreecommitdiffstats
path: root/Modules/FindPNG.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-09 20:33:58 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-09 20:33:58 (GMT)
commit3f978317b73800080fd100a884a8fa55ddcf6417 (patch)
tree7c82e158272c3862702556962c9732f7c12360ac /Modules/FindPNG.cmake
parent64cb55439725d26ce19439b12b2022f81e997912 (diff)
downloadCMake-3f978317b73800080fd100a884a8fa55ddcf6417.zip
CMake-3f978317b73800080fd100a884a8fa55ddcf6417.tar.gz
CMake-3f978317b73800080fd100a884a8fa55ddcf6417.tar.bz2
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 0ecb86b..861d471 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