summaryrefslogtreecommitdiffstats
path: root/Modules/FindZLIB.cmake
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2011-01-14 17:28:10 (GMT)
committerDavid Cole <david.cole@kitware.com>2011-01-14 17:28:10 (GMT)
commit30e19b79ddb00932097ec6f5b54478a0b9b33b38 (patch)
tree8bf0d25d329b22795d479689daa14e7a1b1b5277 /Modules/FindZLIB.cmake
parent3a7230afe94ccec600100e2c7ea6106b4e078b08 (diff)
downloadCMake-30e19b79ddb00932097ec6f5b54478a0b9b33b38.zip
CMake-30e19b79ddb00932097ec6f5b54478a0b9b33b38.tar.gz
CMake-30e19b79ddb00932097ec6f5b54478a0b9b33b38.tar.bz2
Add new names for PNG and ZLIB libraries
Thanks to Pau Garcia i Quiles for the patch on the CMake mailing list.
Diffstat (limited to 'Modules/FindZLIB.cmake')
-rw-r--r--Modules/FindZLIB.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/FindZLIB.cmake b/Modules/FindZLIB.cmake
index 1ac6c2c..3de5829 100644
--- a/Modules/FindZLIB.cmake
+++ b/Modules/FindZLIB.cmake
@@ -35,7 +35,7 @@ FIND_PATH(ZLIB_INCLUDE_DIR zlib.h
"[HKEY_LOCAL_MACHINE\\SOFTWARE\\GnuWin32\\Zlib;InstallPath]/include"
)
-SET(ZLIB_NAMES z zlib zdll)
+SET(ZLIB_NAMES z zlib zdll zlib1 zlibd zlibd1)
FIND_LIBRARY(ZLIB_LIBRARY
NAMES
${ZLIB_NAMES}