From 8da2db012913bd648e1e04622a49ee362aa7d979 Mon Sep 17 00:00:00 2001 From: offtkp Date: Wed, 14 Aug 2024 04:33:32 +0300 Subject: [PATCH] I also hate iOS --- CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/CMakeLists.txt b/CMakeLists.txt index 04b175db8..49f1fbfb8 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -310,6 +310,9 @@ if(ENABLE_RETRO_ACHIEVEMENTS) add_definitions(-DENABLE_RETRO_ACHIEVEMENTS=1) add_definitions(-DRC_CLIENT_SUPPORTS_HASH) add_library(Lua STATIC src/lua/onelua.c) + if(IOS) + target_compile_definitions(Lua PRIVATE LUA_USE_IOS) # makes it so system is not used + endif() set_property(TARGET Lua PROPERTY MSVC_RUNTIME_LIBRARY "MultiThreaded") set(LINK_LIBS ${LINK_LIBS} Lua) set(RCHEEVOS_SRC src/rcheevos/src/rapi/rc_api_common.c