Disable SDL main

This commit is contained in:
SirLynix
2022-12-25 12:09:47 +01:00
parent 60c468694c
commit fe69cc0d27

View File

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