forked from Mirrorlandia_minetest/irrlicht
macOS: silence OpenGL deprecation warnings
This commit is contained in:
parent
03ad637114
commit
0a09f98c74
@ -75,6 +75,8 @@ elseif(APPLE)
|
||||
find_library(COCOA_LIB Cocoa REQUIRED)
|
||||
find_library(IOKIT_LIB IOKit REQUIRED)
|
||||
link_libraries(${COCOA_LIB} ${IOKIT_LIB})
|
||||
|
||||
add_definitions(-DGL_SILENCE_DEPRECATION)
|
||||
elseif(WIN32)
|
||||
link_libraries(gdi32 winmm)
|
||||
else()
|
||||
|
Loading…
Reference in New Issue
Block a user