@@ -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")