Browse Source

add apt::libopencv-dev

llhsdmd 3 years ago
parent
commit
74d4cfcccc
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/o/opencv/xmake.lua

+ 1 - 0
packages/o/opencv/xmake.lua

@@ -65,6 +65,7 @@ package("opencv")
     if is_plat("macosx") then
     if is_plat("macosx") then
         add_frameworks("Foundation", "CoreFoundation", "CoreGraphics", "AppKit", "OpenCL", "Accelerate")
         add_frameworks("Foundation", "CoreFoundation", "CoreGraphics", "AppKit", "OpenCL", "Accelerate")
     elseif is_plat("linux") then
     elseif is_plat("linux") then
+        add_extsources("pacman::opencv", "apt::libopencv-dev")
         add_syslinks("pthread", "dl")
         add_syslinks("pthread", "dl")
     elseif is_plat("windows", "mingw") then
     elseif is_plat("windows", "mingw") then
         add_syslinks("gdi32", "user32", "glu32", "opengl32", "advapi32", "comdlg32", "ws2_32")
         add_syslinks("gdi32", "user32", "glu32", "opengl32", "advapi32", "comdlg32", "ws2_32")