From 8981faa61fc1e9421805938e6656d84ff61be1f9 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Thu, 15 Oct 2015 10:42:29 +0200 Subject: update bgfx to latest (nw) --- 3rdparty/bgfx/scripts/bgfx.lua | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '3rdparty/bgfx/scripts/bgfx.lua') diff --git a/3rdparty/bgfx/scripts/bgfx.lua b/3rdparty/bgfx/scripts/bgfx.lua index 8c196d5b7d6..c9658d35f84 100644 --- a/3rdparty/bgfx/scripts/bgfx.lua +++ b/3rdparty/bgfx/scripts/bgfx.lua @@ -69,11 +69,17 @@ function bgfxProject(_name, _kind, _defines) "GLESv2", } - configuration { "winphone8* or winstore8*"} + configuration { "winphone8* or winstore8*" } linkoptions { "/ignore:4264" -- LNK4264: archiving object file compiled with /ZW into a static library; note that when authoring Windows Runtime types it is not recommended to link with a static library that contains Windows Runtime metadata } + configuration { "*clang*" } + buildoptions { + "-Wno-microsoft-enum-value", -- enumerator value is not representable in the underlying type 'int' + "-Wno-microsoft-const-init", -- default initialization of an object of const type '' without a user-provided default constructor is a Microsoft extension + } + configuration { "osx" } links { "Cocoa.framework", -- cgit v1.2.3-70-g09d2