fix VS build (nw)

This commit is contained in:
Miodrag Milanovic 2015-11-02 17:37:18 +01:00
parent f1d70e45c3
commit b8efd210b1

View File

@ -615,7 +615,7 @@ project "bgfx"
if _OPTIONS["targetos"]=="windows" then
local version = str_to_version(_OPTIONS["gcc_version"])
if string.find(_OPTIONS["gcc"], "clang") then
if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then
buildoptions {
"-Wno-unknown-attributes",
"-Wno-missing-braces",