1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-29 18:32:36 +00:00

Update CMakeLists.txt

This commit is contained in:
Bret Curtis 2021-10-23 12:56:02 +02:00 committed by GitHub
parent e65af0bf06
commit 62b59a3c00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -708,6 +708,7 @@ if (BUILD_OPENMW AND APPLE)
# Without these flags LuaJit crashes on startup on OSX
set_target_properties(openmw PROPERTIES LINK_FLAGS "-pagezero_size 10000 -image_base 100000000")
set_target_properties(components PROPERTIES COMPILE_DEFINITIONS "GL_SILENCE_DEPRECATION=1")
set_target_properties(openmw PROPERTIES COMPILE_DEFINITIONS "GL_SILENCE_DEPRECATION=1")
endif()
# Apple bundling