diff --git a/CMakeLists.txt b/CMakeLists.txt index 0451b639e5..1b4e5609ae 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -707,6 +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") + target_compile_definitions(components PRIVATE GL_SILENCE_DEPRECATION=1) + target_compile_definitions(openmw PRIVATE GL_SILENCE_DEPRECATION=1) endif() # Apple bundling