diff options
author | 2021-09-09 12:55:56 +0100 | |
---|---|---|
committer | 2021-09-09 12:55:56 +0100 | |
commit | 2811cda9c67963f7877cf6fe784ee548bf22a0c1 (patch) | |
tree | 8f9c622f01b9511a575438db75f360968dc9a180 /scripts/src/osd/windows.lua | |
parent | 925f5183a10de850b6331441301a05d3291cf2fa (diff) |
fixed vs2019, broken by clang fix.
Diffstat (limited to '')
-rw-r--r-- | scripts/src/osd/windows.lua | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/scripts/src/osd/windows.lua b/scripts/src/osd/windows.lua index 9bd9b6cd5f6..2f77844d17a 100644 --- a/scripts/src/osd/windows.lua +++ b/scripts/src/osd/windows.lua @@ -119,9 +119,11 @@ project ("osd_" .. _OPTIONS["osd"]) MAME_DIR .. "src/osd/windows", } - buildoptions_cpp { - "-Wno-ignored-attributes",-- many instances in ImGui - } + if _OPTIONS["gcc"]~=nil and string.find(_OPTIONS["gcc"], "clang") then + buildoptions_cpp { + "-Wno-ignored-attributes",-- many instances in ImGui + } + end files { MAME_DIR .. "src/osd/modules/render/d3d/d3dhlsl.cpp", |