Update BUILD

This commit is contained in:
Kinar R 2023-05-18 18:08:04 +05:30 committed by GitHub
parent b5072c59e7
commit f63baaf8d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

7
third_party/BUILD vendored
View File

@ -150,7 +150,7 @@ OPENCV_MODULES = [
# still only builds the shared libraries, so we have to choose one or the
# other. We build shared libraries by default, but this variable can be used
# to switch to static libraries.
OPENCV_SHARED_LIBS = False
OPENCV_SHARED_LIBS = True
OPENCV_SO_VERSION = "3.4"
@ -167,8 +167,6 @@ cmake_external(
"BUILD_PERF_TESTS": "OFF",
"BUILD_EXAMPLES": "OFF",
"BUILD_SHARED_LIBS": "ON" if OPENCV_SHARED_LIBS else "OFF",
# Disable IPP
"WITH_IPP": "OFF",
"WITH_ITT": "OFF",
"WITH_JASPER": "OFF",
"WITH_JPEG": "ON",
@ -176,6 +174,9 @@ cmake_external(
"WITH_TIFF": "ON",
"WITH_OPENCL": "OFF",
"WITH_WEBP": "OFF",
# Disable IPP
"WITH_IPP": "OFF",
"WITH_OPENEXR": "OFF",
# Disable carotene_o4t
# "ENABLE_NEON": "OFF",
# "WITH_TENGINE": "OFF",