From b8efd210b1953f88924f600f498af53f5a79eb94 Mon Sep 17 00:00:00 2001 From: Miodrag Milanovic Date: Mon, 2 Nov 2015 17:37:18 +0100 Subject: [PATCH] fix VS build (nw) --- scripts/src/3rdparty.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/src/3rdparty.lua b/scripts/src/3rdparty.lua index 2e029d1c050..ce9a950dad1 100644 --- a/scripts/src/3rdparty.lua +++ b/scripts/src/3rdparty.lua @@ -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",