mirror of
https://github.com/OpenMW/openmw.git
synced 2025-03-27 04:10:24 +00:00
Silence all opengl deprecation warnings for MacOS
We know...
This commit is contained in:
parent
217d17adeb
commit
e65af0bf06
1 changed files with 1 additions and 0 deletions
|
@ -707,6 +707,7 @@ 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")
|
||||||
|
set_target_properties(components PROPERTIES COMPILE_DEFINITIONS "GL_SILENCE_DEPRECATION=1")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
# Apple bundling
|
# Apple bundling
|
||||||
|
|
Loading…
Reference in a new issue