From 5bba1f245fae492934b4853b90696864ed3a0a1e Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Tue, 14 Mar 2023 09:43:57 -0700 Subject: [PATCH] Internal change PiperOrigin-RevId: 516550977 --- third_party/BUILD | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/third_party/BUILD b/third_party/BUILD index 7522bab1b..034243b3e 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -169,7 +169,10 @@ cmake_external( "-lm", "-lpthread", "-lrt", - ], + ] + select({ + "//mediapipe:ios": ["-framework Cocoa"], + "//conditions:default": [], + }), shared_libraries = select({ "@bazel_tools//src/conditions:darwin": ["libopencv_%s.%s.dylib" % (module, OPENCV_SO_VERSION) for module in OPENCV_MODULES], # Only the shared objects listed here will be linked in the directory