From d0c691be85e26399caaf7c3fa4071d56fe4255c5 Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Thu, 10 Oct 2024 09:41:30 +0200 Subject: Revert "remove temporary workaround involving _LIBCPP_DISABLE_AVAILABILITY (#191)" (#193) This reverts commit e809931618b443809e9740edb70a62d0cab01f87. --- xmake.lua | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'xmake.lua') 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") -- cgit v1.2.3