Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
c8ef authored Sep 17, 2024
1 parent 1acc312 commit c2e12b8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion packages/g/google-dawn/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,12 @@ package("google-dawn")

import("patch")(package)
local configs = import("configs").get(package)
import("package.tools.cmake").install(package, configs)

local packagedeps = {}
if package:is_plat("linux") then
table.insert(packagedeps, "libx11")
end
import("package.tools.cmake").install(package, configs, {packagedeps = packagedeps})
end)

on_test(function (package)
Expand Down

0 comments on commit c2e12b8

Please sign in to comment.