mediapipe/third_party/opencv_macos.BUILD

27 lines
699 B
Plaintext
Raw Normal View History

# Description:
# OpenCV libraries for video/image processing on MacOS
licenses(["notice"]) # BSD license
exports_files(["LICENSE"])
cc_library(
name = "opencv",
srcs = glob(
[
"lib/libopencv_core.dylib",
"lib/libopencv_calib3d.dylib",
"lib/libopencv_features2d.dylib",
"lib/libopencv_highgui.dylib",
"lib/libopencv_imgcodecs.dylib",
"lib/libopencv_imgproc.dylib",
"lib/libopencv_video.dylib",
"lib/libopencv_videoio.dylib",
],
),
hdrs = glob(["include/opencv2/**/*.h*"]),
includes = ["include/"],
linkstatic = 1,
visibility = ["//visibility:public"],
)