Disable SDL main
This commit is contained in:
parent
60c468694c
commit
fe69cc0d27
|
|
@ -100,8 +100,8 @@ local modules = {
|
||||||
},
|
},
|
||||||
Platform = {
|
Platform = {
|
||||||
Deps = {"NazaraUtility"},
|
Deps = {"NazaraUtility"},
|
||||||
Packages = {"libsdl"},
|
|
||||||
Custom = function()
|
Custom = function()
|
||||||
|
add_packages("libsdl", { components = {"lib"}})
|
||||||
if is_plat("windows", "mingw") then
|
if is_plat("windows", "mingw") then
|
||||||
add_defines("SDL_VIDEO_DRIVER_WINDOWS=1")
|
add_defines("SDL_VIDEO_DRIVER_WINDOWS=1")
|
||||||
elseif is_plat("linux") then
|
elseif is_plat("linux") then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue