diff options
Diffstat (limited to 'scripts/src/osd/sdl.lua')
-rw-r--r-- | scripts/src/osd/sdl.lua | 22 |
1 files changed, 19 insertions, 3 deletions
diff --git a/scripts/src/osd/sdl.lua b/scripts/src/osd/sdl.lua index 726423853c6..8aa7f387937 100644 --- a/scripts/src/osd/sdl.lua +++ b/scripts/src/osd/sdl.lua @@ -29,9 +29,25 @@ function maintargetosdoptions(_target) end if _OPTIONS["targetos"]=="windows" then - linkoptions{ - "-municode", - } + configuration { "mingw*" } + linkoptions{ + "-municode", + } + configuration { "x32", "vs*" } + libdirs { + path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x86") + } + configuration { "x64", "vs*" } + libdirs { + path.join(_OPTIONS["SDL_INSTALL_ROOT"],"lib","x64") + } + configuration { "vs*" } + links { + "SDL2", + "opengl32", + } + configuration {} + if (USE_QT == 1) then linkoptions{ "-L$(shell qmake -query QT_INSTALL_LIBS)", |