[osx] Silence warnings about deprecated OpenGL

pull/3/head
Hleb Valoshka 2019-08-27 23:23:21 +03:00
parent efc4810104
commit 6202c06869
1 changed files with 1 additions and 0 deletions

View File

@ -270,6 +270,7 @@ if(APPLE)
if (NATIVE_OSX_APP)
add_definitions(-DNATIVE_OSX_APP)
endif()
add_definitions(-DGL_SILENCE_DEPRECATION)
endif()
string(TOLOWER "${CMAKE_BUILD_TYPE}" build_type_lc)