From ba7f81cbf4b6f4468d9399b7259cf8b86c3ce1b1 Mon Sep 17 00:00:00 2001 From: ClaineLe <7941324@qq.com> Date: Fri, 19 Apr 2024 11:48:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dlua5.4.6=EF=BC=8C=E6=9E=84?= =?UTF-8?q?=E5=BB=BAiOS=E5=B9=B3=E5=8F=B0=E6=97=B6=E5=87=BA=E7=8E=B0?= =?UTF-8?q?=E6=8A=A5=E9=94=99=EF=BC=88'system'=20is=20unavailable:=20not?= =?UTF-8?q?=20available=20on=20iOS=EF=BC=89=20(#1133)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- build/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/build/CMakeLists.txt b/build/CMakeLists.txt index edf51f5ae..7c84e8dca 100644 --- a/build/CMakeLists.txt +++ b/build/CMakeLists.txt @@ -145,6 +145,7 @@ source_group_by_dir(${CMAKE_CURRENT_SOURCE_DIR} XLUA_CORE) if (APPLE) if (IOS) + ADD_DEFINITIONS(-DLUA_USE_IOS) # Despite claiming to be ISO C, iOS does not implement 'system'.(iOS11) set(CMAKE_OSX_ARCHITECTURES "$(ARCHS_STANDARD)") add_library(xlua STATIC ${LUA_CORE}