brining over fix in master (#4140) for libz import on 64-bit android
This commit is contained in:
parent
8b23d1ec64
commit
55a9fdf051
@ -8,7 +8,8 @@ if(BUILD_ZLIB)
|
||||
else()
|
||||
include(FindZLIB)
|
||||
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_LIBRARIES z)
|
||||
endif()
|
||||
|
Loading…
x
Reference in New Issue
Block a user