aboutsummaryrefslogtreecommitdiff
path: root/cmake/Modules
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2011-01-16 12:16:53 +0100
committerAndreas Schneider <asn@cryptomilk.org>2011-01-16 12:16:53 +0100
commit8d7d313498bcf51b30e2d99dd291f80d008f3625 (patch)
treed6b99e91e67613df09676af8a87c57672b56f619 /cmake/Modules
parentc6e1792696829788572c82db5533f00a8ef42d2d (diff)
downloadlibssh-8d7d313498bcf51b30e2d99dd291f80d008f3625.tar.gz
libssh-8d7d313498bcf51b30e2d99dd291f80d008f3625.tar.xz
libssh-8d7d313498bcf51b30e2d99dd291f80d008f3625.zip
cmake: Fixed ZLIB path checks.
Diffstat (limited to 'cmake/Modules')
-rw-r--r--cmake/Modules/FindZLIB.cmake4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/Modules/FindZLIB.cmake b/cmake/Modules/FindZLIB.cmake
index fcd63b1b..0e8b8c65 100644
--- a/cmake/Modules/FindZLIB.cmake
+++ b/cmake/Modules/FindZLIB.cmake
@@ -65,6 +65,7 @@ else (ZLIB_LIBRARIES AND ZLIB_INCLUDE_DIRS)
/opt/local/include
/sw/include
/usr/lib/sfw/include
+ ${ZLIB_ROOT_DIR}/include
)
mark_as_advanced(ZLIB_INCLUDE_DIR)
@@ -97,13 +98,12 @@ else (ZLIB_LIBRARIES AND ZLIB_INCLUDE_DIRS)
zlib
zlib1
PATHS
- ${_ZLIB_DIR}/lib
- /usr/lib
/usr/local/lib
/opt/local/lib
/sw/lib
/usr/sfw/lib/64
/usr/sfw/lib
+ ${ZLIB_ROOT_DIR}/lib
)
mark_as_advanced(ZLIB_LIBRARY)