Add extsources to libsdl_gfx (#569)

pull/575/head
PucklaMotzer09 3 years ago committed by GitHub
parent 8dad1e1d26
commit 64719ec6d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      packages/l/libsdl_gfx/xmake.lua

@ -17,6 +17,12 @@ package("libsdl_gfx")
add_versions("1.0.4", "63e0e01addedc9df2f85b93a248f06e8a04affa014a835c2ea34bfe34e576262")
end
if is_plat("linux") then
add_extsources("pacman::sdl2_gfx", "apt::libsdl2-gfx-dev")
elseif is_plat("macosx") then
add_extsources("brew::sdl2_gfx")
end
add_deps("libsdl")
add_links("SDL2_gfx")

Loading…
Cancel
Save