Commit 55a9fdf0 authored by Aaron Simmons's avatar Aaron Simmons

brining over fix in master (#4140) for libz import on 64-bit android

parent 8b23d1ec
...@@ -8,7 +8,8 @@ if(BUILD_ZLIB) ...@@ -8,7 +8,8 @@ if(BUILD_ZLIB)
else() else()
include(FindZLIB) include(FindZLIB)
if(ZLIB_FOUND AND ANDROID) if(ZLIB_FOUND AND ANDROID)
if(ZLIB_LIBRARY STREQUAL "${ANDROID_SYSROOT}/usr/lib/libz.so") if(ZLIB_LIBRARIES STREQUAL "${ANDROID_SYSROOT}/usr/lib/libz.so" OR
ZLIB_LIBRARIES STREQUAL "${ANDROID_SYSROOT}/usr/lib64/libz.so")
set(ZLIB_LIBRARY z) set(ZLIB_LIBRARY z)
set(ZLIB_LIBRARIES z) set(ZLIB_LIBRARIES z)
endif() endif()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment