Fixed shared lib build.
This commit is contained in:
parent
c8a112d71e
commit
cf030314e6
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,7 @@ function bgfxProject(_name, _kind, _defines)
|
||||||
defines {
|
defines {
|
||||||
"BGFX_SHARED_LIB_BUILD=1",
|
"BGFX_SHARED_LIB_BUILD=1",
|
||||||
}
|
}
|
||||||
|
|
||||||
configuration { "mingw*" }
|
configuration { "mingw*" }
|
||||||
linkoptions {
|
linkoptions {
|
||||||
"-shared",
|
"-shared",
|
||||||
|
@ -20,6 +21,8 @@ function bgfxProject(_name, _kind, _defines)
|
||||||
links {
|
links {
|
||||||
"gdi32",
|
"gdi32",
|
||||||
}
|
}
|
||||||
|
|
||||||
|
configuration {}
|
||||||
end
|
end
|
||||||
|
|
||||||
includedirs {
|
includedirs {
|
||||||
|
|
Reference in a new issue