From 7e58ad2800bae44b532853e2ac74aa75c03ae5ed Mon Sep 17 00:00:00 2001 From: sephiroth99 Date: Tue, 22 Sep 2015 02:58:32 -0400 Subject: [PATCH] Put MSVC buildoptions under Windows platform filter. --- third_party/imgui.lua | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/third_party/imgui.lua b/third_party/imgui.lua index 693366777..9e5b63a76 100644 --- a/third_party/imgui.lua +++ b/third_party/imgui.lua @@ -22,6 +22,8 @@ project("imgui") "imgui/stb_textedit.h", "imgui/stb_truetype.h", }) - buildoptions({ - "/wd4312", -- Ugh. - }) + + filter("platforms:Windows") + buildoptions({ + "/wd4312", -- Ugh. + })