Browse Source

Update xmake.lua (#2277)

A2va 2 năm trước cách đây
mục cha
commit
6667abdda1
1 tập tin đã thay đổi với 2 bổ sung0 xóa
  1. 2 0
      packages/c/clblast/xmake.lua

+ 2 - 0
packages/c/clblast/xmake.lua

@@ -15,6 +15,8 @@ package("clblast")
     add_configs("netlib", { description = "Enable compilation of the CBLAS Netlib API", default = false, type = "boolean" })
     add_configs("netlib", { description = "Enable compilation of the CBLAS Netlib API", default = false, type = "boolean" })
     add_configs("netlib_persistent_opencl", { description = "Makes OpenCL device and context in the CBLAS Netlib API static", default = false, type = "boolean" })
     add_configs("netlib_persistent_opencl", { description = "Makes OpenCL device and context in the CBLAS Netlib API static", default = false, type = "boolean" })
 
 
+    add_deps("cmake")
+
     if is_plat("linux") then
     if is_plat("linux") then
         add_extsources("apt::libclblast-dev")
         add_extsources("apt::libclblast-dev")
     elseif is_plat("macosx") then
     elseif is_plat("macosx") then