diff options
author | fuzzard <fuzzard@kodi.tv> | 2022-05-01 15:45:26 +1000 |
---|---|---|
committer | fuzzard <fuzzard@kodi.tv> | 2022-05-01 15:45:26 +1000 |
commit | 4db6a9d165f2411f82bd8192321793293f6757cb (patch) | |
tree | 6baa3297056c6f09c7e626ce14c09383d7a0066d /cmake | |
parent | eb516688a48477562520c3cbfcc036057bb79b30 (diff) |
[macos] silence OPENGL deprecation warnings
No need for deprecation warnings. we know opengl is deprecated, its not going to change
anything for us having those warnings.
Diffstat (limited to 'cmake')
-rw-r--r-- | cmake/platform/osx/osx.cmake | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cmake/platform/osx/osx.cmake b/cmake/platform/osx/osx.cmake index 72977de318..cd3a996ded 100644 --- a/cmake/platform/osx/osx.cmake +++ b/cmake/platform/osx/osx.cmake @@ -1,7 +1,8 @@ if(NOT APP_RENDER_SYSTEM OR APP_RENDER_SYSTEM STREQUAL "gl") list(APPEND PLATFORM_REQUIRED_DEPS OpenGl) set(APP_RENDER_SYSTEM gl) - list(APPEND SYSTEM_DEFINES -DGL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED) + list(APPEND SYSTEM_DEFINES -DGL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED + -DGL_SILENCE_DEPRECATION) else() message(SEND_ERROR "Currently only OpenGL rendering is supported. Please set APP_RENDER_SYSTEM to \"gl\"") endif() |