Update xmake.lua

pull/500/head
ruki 4 years ago committed by GitHub
parent 2d9b1e7df6
commit 37fa5833b5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      packages/o/opencv/xmake.lua

@ -17,8 +17,6 @@ package("opencv")
add_configs("bundled", {description = "Build 3rd-party libraries with OpenCV.", default = true, type = "boolean"})
add_deps("cmake", "python 3.x", {kind = "binary"})
local features = {"1394",
"vtk",
"eigen",
@ -85,6 +83,9 @@ package("opencv")
if package:config("cuda") then
package:add("deps", "cuda", {system = true, configs = {utils = {"cudnn", "cufft", "cublas"}}})
end
if not package.is_built or package:is_built() then
package:add("deps", "cmake", "python 3.x", {kind = "binary"})
end
end)
on_install("linux", "macosx", "windows", function (package)

Loading…
Cancel
Save