diff --git a/scripts/bgfx.lua b/scripts/bgfx.lua index 71bce9ac..c42d57f0 100644 --- a/scripts/bgfx.lua +++ b/scripts/bgfx.lua @@ -14,13 +14,16 @@ function bgfxProject(_name, _kind, _defines) "BGFX_SHARED_LIB_BUILD=1", } + configuration { "vs20* or mingw*" } + links { + "gdi32", + "psapi", + } + configuration { "mingw*" } linkoptions { "-shared", } - links { - "gdi32", - } configuration {} end