1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-09 21:42:13 +00:00

Merge branch 'silicon_fix' into 'master'

Fix executable for silicon builds

See merge request OpenMW/openmw!2767
This commit is contained in:
psi29a 2023-02-25 23:10:48 +00:00
commit 3979d540b1

View File

@ -804,10 +804,6 @@ if (WIN32)
endif()
if (BUILD_OPENMW AND APPLE)
if (USE_LUAJIT)
# Without these flags LuaJit crashes on startup on OSX
set_target_properties(openmw PROPERTIES LINK_FLAGS "-pagezero_size 10000 -image_base 100000000")
endif(USE_LUAJIT)
target_compile_definitions(components PRIVATE GL_SILENCE_DEPRECATION=1)
target_compile_definitions(openmw PRIVATE GL_SILENCE_DEPRECATION=1)
endif()