summaryrefslogtreecommitdiffstatshomepage
path: root/3rdparty/bgfx/scripts/bgfx.lua
diff options
context:
space:
mode:
Diffstat (limited to '3rdparty/bgfx/scripts/bgfx.lua')
-rw-r--r--3rdparty/bgfx/scripts/bgfx.lua9
1 files changed, 6 insertions, 3 deletions
diff --git a/3rdparty/bgfx/scripts/bgfx.lua b/3rdparty/bgfx/scripts/bgfx.lua
index 71bce9ac8c1..c42d57f0194 100644
--- a/3rdparty/bgfx/scripts/bgfx.lua
+++ b/3rdparty/bgfx/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