From 566171eacc29dbc3e59652b9805ac4fedbbcd28b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Thu, 15 Dec 2016 20:31:18 -0800 Subject: [PATCH] Fixed VS build. --- scripts/shaderc.lua | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) diff --git a/scripts/shaderc.lua b/scripts/shaderc.lua index d1a6a1196..954e8e316 100644 --- a/scripts/shaderc.lua +++ b/scripts/shaderc.lua @@ -6,18 +6,19 @@ project "glslang" kind "StaticLib" - buildoptions { - "-Wno-ignored-qualifiers", - "-Wno-inconsistent-missing-override", - "-Wno-missing-field-initializers", - "-Wno-reorder", - "-Wno-shadow", - "-Wno-sign-compare", - "-Wno-undef", - "-Wno-unknown-pragmas", - "-Wno-unused-parameter", - "-Wno-unused-variable", - } + configuration { "not vs*" } + buildoptions { + "-Wno-ignored-qualifiers", + "-Wno-inconsistent-missing-override", + "-Wno-missing-field-initializers", + "-Wno-reorder", + "-Wno-shadow", + "-Wno-sign-compare", + "-Wno-undef", + "-Wno-unknown-pragmas", + "-Wno-unused-parameter", + "-Wno-unused-variable", + } configuration { "osx" } buildoptions {