diff --git a/scripts/bgfx.lua b/scripts/bgfx.lua index 53a761bbb..f95e99f6d 100644 --- a/scripts/bgfx.lua +++ b/scripts/bgfx.lua @@ -46,6 +46,10 @@ function bgfxProject(_name, _kind, _defines) "BGFX_SHARED_LIB_BUILD=1", } + links { + "bx", + } + configuration { "vs20* or mingw*" } links { "gdi32", diff --git a/scripts/genie.lua b/scripts/genie.lua index 534982e7b..416075b9e 100644 --- a/scripts/genie.lua +++ b/scripts/genie.lua @@ -142,9 +142,9 @@ function exampleProject(_name) } links { + "example-common", "bgfx", "bx", - "example-common", } if _OPTIONS["with-sdl"] then