aboutsummaryrefslogtreecommitdiff
path: root/xmake.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake.lua')
-rw-r--r--xmake.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake.lua b/xmake.lua
index 7ada74977..a8256dbd5 100644
--- a/xmake.lua
+++ b/xmake.lua
@@ -93,6 +93,12 @@ if is_os("windows") then
-- add_ldflags("/MAP")
end
+if is_os("macosx") then
+ -- temporary workaround for xcode 12.1 (UE minimum spec is 12.5)
+ -- TODO: once CI is updated we should remove this
+ add_defines("_LIBCPP_DISABLE_AVAILABILITY")
+end
+
if is_os("linux") or is_os("macosx") then
add_cxxflags("-Wno-implicit-fallthrough")
add_cxxflags("-Wno-missing-field-initializers")