Update CMakeLists.txt

pull/3187/head
Bret Curtis 3 years ago committed by GitHub
parent 1a51c6eb5d
commit fa5581942e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -707,7 +707,8 @@ endif()
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")
add_compile_definitions(GL_SILENCE_DEPRECATION=1)
target_compile_definitions(components PRIVATE GL_SILENCE_DEPRECATION=1)
target_compile_definitions(openmw PRIVATE GL_SILENCE_DEPRECATION=1)
endif()
# Apple bundling

Loading…
Cancel
Save