summaryrefslogtreecommitdiff
path: root/source/luametatex/cmake
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2023-01-26 19:34:21 +0100
committerContext Git Mirror Bot <phg@phi-gamma.net>2023-01-26 19:34:21 +0100
commit83667a906d7cac842635bc5243db70f55b346562 (patch)
tree6d22734798c775c081c3aecb7f05faf590e6570b /source/luametatex/cmake
parentb47e8c2cdeeab0bcdb1c4c32328c933f3f8599de (diff)
downloadcontext-83667a906d7cac842635bc5243db70f55b346562.tar.gz
2023-01-26 18:34:00
Diffstat (limited to 'source/luametatex/cmake')
-rw-r--r--source/luametatex/cmake/lua.cmake8
1 files changed, 8 insertions, 0 deletions
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)