diff --git a/xmake.lua b/xmake.lua index 929521462..8df18de83 100644 --- a/xmake.lua +++ b/xmake.lua @@ -100,8 +100,8 @@ local modules = { }, Platform = { Deps = {"NazaraUtility"}, - Packages = {"libsdl"}, Custom = function() + add_packages("libsdl", { components = {"lib"}}) if is_plat("windows", "mingw") then add_defines("SDL_VIDEO_DRIVER_WINDOWS=1") elseif is_plat("linux") then