mirror of
https://github.com/zebrajr/opencv.git
synced 2025-12-06 12:19:50 +01:00
Merge pull request #21508 from tailsu:sd/fix-zlib-png-android
This commit is contained in:
commit
6811d3d80b
|
|
@ -17,8 +17,10 @@ else()
|
|||
unset(_zlib_ORIG_CMAKE_FIND_LIBRARY_SUFFIXES)
|
||||
endif()
|
||||
if(ZLIB_FOUND AND ANDROID)
|
||||
if(ZLIB_LIBRARIES MATCHES "/usr/lib.*/libz.so$")
|
||||
if(ZLIB_LIBRARY MATCHES "/usr/lib.*/libz.so$")
|
||||
set(ZLIB_LIBRARY z)
|
||||
set(ZLIB_LIBRARIES z)
|
||||
set(ZLIB_LIBRARY_RELEASE z)
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user