From 74d4cfcccc2cb9c2026e79c486640daa5752d36b Mon Sep 17 00:00:00 2001 From: llhsdmd <2982886437@qq.com> Date: Sun, 27 Mar 2022 08:12:07 +0800 Subject: [PATCH] add apt::libopencv-dev --- packages/o/opencv/xmake.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/o/opencv/xmake.lua b/packages/o/opencv/xmake.lua index f71b36843..e0687a57b 100644 --- a/packages/o/opencv/xmake.lua +++ b/packages/o/opencv/xmake.lua @@ -65,6 +65,7 @@ package("opencv") if is_plat("macosx") then add_frameworks("Foundation", "CoreFoundation", "CoreGraphics", "AppKit", "OpenCL", "Accelerate") elseif is_plat("linux") then + add_extsources("pacman::opencv", "apt::libopencv-dev") add_syslinks("pthread", "dl") elseif is_plat("windows", "mingw") then add_syslinks("gdi32", "user32", "glu32", "opengl32", "advapi32", "comdlg32", "ws2_32")