Skip to content

Commit 06be96c

Browse files
committed
Silence OpenGL deprecation warnings on macOS
1 parent 0c0a5ce commit 06be96c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMake/Common.cmake

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -77,6 +77,7 @@ endif(MINGW)
7777

7878
if(APPLE)
7979
set(CMAKE_MACOSX_RPATH 1)
80+
add_definitions(-DGL_SILENCE_DEPRECATION)
8081
endif()
8182

8283
set (CMAKE_CXX_STANDARD 11)

0 commit comments

Comments
 (0)