summaryrefslogtreecommitdiffstats
path: root/Modules/FindPNG.cmake
diff options
context:
space:
mode:
authorAlexander Neundorf <neundorf@kde.org>2008-08-16 11:10:09 (GMT)
committerAlexander Neundorf <neundorf@kde.org>2008-08-16 11:10:09 (GMT)
commit7f69a773aba1e62f60c25664ad3761a29e18219e (patch)
tree6992fd03534283be8488006ae6fa5deffb3d0e7f /Modules/FindPNG.cmake
parent35175120b1773a674f096daee64d97e2efaf3a08 (diff)
downloadCMake-7f69a773aba1e62f60c25664ad3761a29e18219e.zip
CMake-7f69a773aba1e62f60c25664ad3761a29e18219e.tar.gz
CMake-7f69a773aba1e62f60c25664ad3761a29e18219e.tar.bz2
ENH: add more names of linpng (sync with the KDE version)
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 fa1bcd3..d64b074 100644
--- a/Modules/FindPNG.cmake
+++ b/Modules/FindPNG.cmake
@@ -16,7 +16,7 @@ IF(ZLIB_FOUND)
/usr/local/include/libpng # OpenBSD
)
- SET(PNG_NAMES ${PNG_NAMES} png libpng)
+ SET(PNG_NAMES ${PNG_NAMES} png libpng png12 libpng12)
FIND_LIBRARY(PNG_LIBRARY NAMES ${PNG_NAMES} )
IF (PNG_LIBRARY AND PNG_PNG_INCLUDE_DIR)