mirror of
https://github.com/minetest/irrlicht.git
synced 2025-03-14 06:12:39 +01:00
macOS: silence OpenGL deprecation warnings
This commit is contained in:
@ -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()
|
||||
|
Reference in New Issue
Block a user