mirror of
https://git.libssh.org/projects/libssh.git
synced 2026-02-09 09:54:25 +09:00
cmake: Fixed ZLIB path checks.
This commit is contained in:
@@ -65,6 +65,7 @@ else (ZLIB_LIBRARIES AND ZLIB_INCLUDE_DIRS)
|
|||||||
/opt/local/include
|
/opt/local/include
|
||||||
/sw/include
|
/sw/include
|
||||||
/usr/lib/sfw/include
|
/usr/lib/sfw/include
|
||||||
|
${ZLIB_ROOT_DIR}/include
|
||||||
)
|
)
|
||||||
mark_as_advanced(ZLIB_INCLUDE_DIR)
|
mark_as_advanced(ZLIB_INCLUDE_DIR)
|
||||||
|
|
||||||
@@ -97,13 +98,12 @@ else (ZLIB_LIBRARIES AND ZLIB_INCLUDE_DIRS)
|
|||||||
zlib
|
zlib
|
||||||
zlib1
|
zlib1
|
||||||
PATHS
|
PATHS
|
||||||
${_ZLIB_DIR}/lib
|
|
||||||
/usr/lib
|
|
||||||
/usr/local/lib
|
/usr/local/lib
|
||||||
/opt/local/lib
|
/opt/local/lib
|
||||||
/sw/lib
|
/sw/lib
|
||||||
/usr/sfw/lib/64
|
/usr/sfw/lib/64
|
||||||
/usr/sfw/lib
|
/usr/sfw/lib
|
||||||
|
${ZLIB_ROOT_DIR}/lib
|
||||||
)
|
)
|
||||||
mark_as_advanced(ZLIB_LIBRARY)
|
mark_as_advanced(ZLIB_LIBRARY)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user