1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-03-01 12:09:50 +00:00

Merge branch 'silicon_fix' into 'master'

Fix executable for silicon builds

See merge request OpenMW/openmw!2767

(cherry picked from commit 3979d540b1)

f729a280 Fix executable for silicon builds
This commit is contained in:
psi29a 2023-02-25 23:10:48 +00:00
parent 2f6a809d18
commit 56d9758af2

View file

@ -780,10 +780,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()