mediapipe/third_party/opencv_windows.BUILD
MediaPipe Team b133b0f200 Project import generated by Copybara.
GitOrigin-RevId: afeb9cf5a8c069c0a566d16e1622bbb086170e4d
2020-05-21 13:37:51 -04:00

24 lines
710 B
Plaintext

# Description:
# OpenCV libraries for video/image processing on Windows
licenses(["notice"]) # BSD license
exports_files(["LICENSE"])
OPENCV_VERSION = "3410" # 3.4.10
# The following build rule assumes that the executable "opencv-3.4.10-vc14_vc15.exe"
# is downloaded and the files are extracted to local.
# If you install OpenCV separately, please modify the build rule accordingly.
cc_library(
name = "opencv",
srcs = [
"x64/vc15/lib/opencv_world" + OPENCV_VERSION + ".lib",
"x64/vc15/bin/opencv_world" + OPENCV_VERSION + ".dll",
],
hdrs = glob(["include/opencv2/**/*.h*"]),
includes = ["include/"],
linkstatic = 1,
visibility = ["//visibility:public"],
)