Skip to content

Commit

Permalink
Update xmake.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
SirLynix authored Feb 3, 2025
1 parent 3c05207 commit 9437af4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/l/libsdl3/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ package("libsdl3")
package:set("policy", "package.cmake_generator.ninja", true)
end
if package:is_plat("linux", "bsd", "cross") and package:config("x11") then
package:add("deps", "libxext", {private = true})
package:add("deps", "libxext", "libxcb", {private = true})
end
if package:is_plat("linux", "bsd", "cross") and package:config("wayland") then
package:add("deps", "wayland", {private = true})
Expand Down Expand Up @@ -113,6 +113,7 @@ package("libsdl3")
table.insert(configs, "-DCMAKE_INCLUDE_PATH=" .. table.concat(includedirs, ";"))
cflags = cflags or {}
for _, includedir in ipairs(includedirs) do
print("include dir: " .. includedir)
table.insert(cflags, "-I" .. includedir)
end
end
Expand Down

0 comments on commit 9437af4

Please sign in to comment.