From a82ffcd97c244756a1585d83b667b3d355416c4e Mon Sep 17 00:00:00 2001 From: Prianka Liz Kariat Date: Wed, 8 Feb 2023 21:40:23 +0530 Subject: [PATCH] Updated mppimage target --- mediapipe/tasks/ios/vision/core/BUILD | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/mediapipe/tasks/ios/vision/core/BUILD b/mediapipe/tasks/ios/vision/core/BUILD index 816486391..ca3b96169 100644 --- a/mediapipe/tasks/ios/vision/core/BUILD +++ b/mediapipe/tasks/ios/vision/core/BUILD @@ -4,12 +4,20 @@ licenses(["notice"]) objc_library( name = "MPPImage", - srcs = ["sources/MPPImage.h"], - hdrs = ["sources/MPPImage.m"], + srcs = ["sources/MPPImage.m"], + hdrs = ["sources/MPPImage.h"], module_name = "MPPImage", + deps = [ + "//mediapipe/tasks/ios/common:MPPCommon", + "//mediapipe/tasks/ios/common/utils:MPPCommonUtils", + ], sdk_frameworks = [ "CoreMedia", "CoreVideo", "UIKit", - ] + ], + copts = [ + "-ObjC++", + "-std=c++17", + ], )