mirror of
https://github.com/opencv/opencv.git
synced 2026-07-31 00:03:03 +04:00
Modified zlib search. Use system zlib on Android by default
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
set(the_description "The Core Functionality")
|
||||
ocv_add_module(core ${ZLIB_LIBRARY})
|
||||
|
||||
if(NOT ZLIB_FOUND)
|
||||
set(ZLIB_INCLUDE_DIR "${CMAKE_CURRENT_SOURCE_DIR}/../../3rdparty/zlib")
|
||||
endif()
|
||||
ocv_module_include_directories(${ZLIB_INCLUDE_DIR})
|
||||
|
||||
if(HAVE_CUDA)
|
||||
|
||||
Reference in New Issue
Block a user