Fixing TBB search and zlib version detection
This commit is contained in:
@@ -16,6 +16,9 @@ else()
|
||||
ocv_parse_header2(ZLIB "${ANDROID_SYSROOT}/usr/include/zlib.h" ZLIB_VERSION "")
|
||||
else()
|
||||
include(FindZLIB)
|
||||
if(NOT ZLIB_VERSION_STRING)
|
||||
ocv_parse_header2(ZLIB "${ZLIB_INCLUDE_DIR}/zlib.h" ZLIB_VERSION "")
|
||||
endif()
|
||||
endif()
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user