From 83667a906d7cac842635bc5243db70f55b346562 Mon Sep 17 00:00:00 2001 From: Hans Hagen Date: Thu, 26 Jan 2023 19:34:21 +0100 Subject: 2023-01-26 18:34:00 --- source/luametatex/cmake/lua.cmake | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source/luametatex/cmake') diff --git a/source/luametatex/cmake/lua.cmake b/source/luametatex/cmake/lua.cmake index ed0ab1803..7c7eac35d 100644 --- a/source/luametatex/cmake/lua.cmake +++ b/source/luametatex/cmake/lua.cmake @@ -82,6 +82,14 @@ if (NOT MSVC) ) endif (NOT MSVC) +if (CMAKE_HOST_APPLE) + target_compile_definitions(lua PUBLIC + TARGET_OS_IOS=0 + TARGET_OS_WATCH=0 + TARGET_OS_TV=0 + ) +endif (CMAKE_HOST_APPLE) + # this seems to be ok for mingw default # # todo: what is the right way to increase the stack (mingw) -- cgit v1.2.3