summaryrefslogtreecommitdiffstats
path: root/Modules/FindPNG.cmake
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2006-02-09 20:08:16 (GMT)
committerBrad King <brad.king@kitware.com>2006-02-09 20:08:16 (GMT)
commit64cb55439725d26ce19439b12b2022f81e997912 (patch)
tree9d780adeb4063fb028b0a25cd3669d63a058f268 /Modules/FindPNG.cmake
parent33587ce37676c906b7deed07764e2757c6f3997f (diff)
downloadCMake-64cb55439725d26ce19439b12b2022f81e997912.zip
CMake-64cb55439725d26ce19439b12b2022f81e997912.tar.gz
CMake-64cb55439725d26ce19439b12b2022f81e997912.tar.bz2
ENH: Removing platform-specific name hacks now that FIND_LIBRARY handles it.
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 861d471..0ecb86b 100644
--- a/Modules/FindPNG.cmake
+++ b/Modules/FindPNG.cmake
@@ -18,7 +18,7 @@ IF(ZLIB_FOUND)
/usr/include
)
- SET(PNG_NAMES ${PNG_NAMES} png libpng)
+ SET(PNG_NAMES ${PNG_NAMES} png)
FIND_LIBRARY(PNG_LIBRARY
NAMES ${PNG_NAMES}
PATHS /usr/lib /usr/local/lib