aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--thirdparty/xmake.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/thirdparty/xmake.lua b/thirdparty/xmake.lua
index 8ca4317c5..30c6e39be 100644
--- a/thirdparty/xmake.lua
+++ b/thirdparty/xmake.lua
@@ -164,6 +164,7 @@ target("ryml")
add_includedirs("ryml/ext/c4core/src", {public=true})
if is_os("windows") then
+ add_cxxflags("/wd4668") -- 'symbol' : undefined macro is treated as '0' in '#if/#elif' preprocessor directives
else
add_cxxflags("-Wno-unused-but-set-variable", "-Wno-undef")
end