mirror of
https://github.com/minetest/irrlicht.git
synced 2024-11-20 01:00:24 +01:00
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