From 118b5ff556c2d66b64a017e1317a94e657dfd43f Mon Sep 17 00:00:00 2001 From: Samuel Audet Date: Mon, 18 Nov 2024 23:12:35 +0900 Subject: [PATCH] Fix builds for OpenCV on Mac --- .../main/java/org/bytedeco/opencv/presets/opencv_videoio.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opencv/src/main/java/org/bytedeco/opencv/presets/opencv_videoio.java b/opencv/src/main/java/org/bytedeco/opencv/presets/opencv_videoio.java index 0ee82ea85d1..9745df4b7c8 100644 --- a/opencv/src/main/java/org/bytedeco/opencv/presets/opencv_videoio.java +++ b/opencv/src/main/java/org/bytedeco/opencv/presets/opencv_videoio.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2015-2022 Samuel Audet + * Copyright (C) 2015-2024 Samuel Audet * * Licensed either under the Apache License, Version 2.0, or (at your option) * under the terms of the GNU General Public License as published by @@ -40,6 +40,7 @@ "native_camera_r2.2.0", "native_camera_r2.3.4", "native_camera_r3.0.1", "native_camera_r4.0.0", "native_camera_r4.0.3", "native_camera_r4.1.1", "native_camera_r4.2.0", "native_camera_r4.3.0", "native_camera_r4.4.0"}), @Platform(value = "ios", preload = "libopencv_videoio"), + @Platform(value = "macosx", preload = "OrbbecSDK@.1.9"), @Platform(value = "windows", link = "opencv_videoio4100", preload = {"opencv_ffmpeg4100", "opencv_ffmpeg4100_64"})}, target = "org.bytedeco.opencv.opencv_videoio", global = "org.bytedeco.opencv.global.opencv_videoio"