[osx] Silence warnings about deprecated OpenGL
parent
efc4810104
commit
6202c06869
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue