From 43082482f85321607987b083a356fa8962a6f8c8 Mon Sep 17 00:00:00 2001 From: Sebastian Schmidt Date: Wed, 15 Mar 2023 14:21:50 -0700 Subject: [PATCH] Remove framework:Cocoa again PiperOrigin-RevId: 516928735 --- third_party/BUILD | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/third_party/BUILD b/third_party/BUILD index ea037dce..7522bab1 100644 --- a/third_party/BUILD +++ b/third_party/BUILD @@ -169,11 +169,7 @@ cmake_external( "-lm", "-lpthread", "-lrt", - ] + select({ - "//mediapipe:ios": ["-framework Cocoa"], - "//mediapipe:macos": ["-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