mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-18 04:10:06 +00:00
Merge pull request #3187 from OpenMW/silence_deprecated_opengl_on_mac_we_know
Silence all opengl deprecation warnings for MacOS
This commit is contained in:
commit
00356e4683
@ -707,6 +707,8 @@ endif()
|
|||||||
if (BUILD_OPENMW AND APPLE)
|
if (BUILD_OPENMW AND APPLE)
|
||||||
# Without these flags LuaJit crashes on startup on OSX
|
# 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(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()
|
endif()
|
||||||
|
|
||||||
# Apple bundling
|
# Apple bundling
|
||||||
|
Loading…
Reference in New Issue
Block a user