remove a warning when compiling with GL3 core profile and macOS
This commit is contained in:
parent
3745b958e5
commit
46c86f53ac
@ -483,6 +483,9 @@ ENDIF()
|
||||
|
||||
IF ((OPENGL_PROFILE STREQUAL "GL3") OR (OPENGL_PROFILE STREQUAL "GLCORE"))
|
||||
OPTION(OSG_GL3_AVAILABLE "Set to OFF to disable use of OpenGL 3.x functions library." ON )
|
||||
if(APPLE)
|
||||
add_definitions(-DGL_DO_NOT_WARN_IF_MULTI_GL_VERSION_HEADERS_INCLUDED)
|
||||
endif()
|
||||
ELSE()
|
||||
OPTION(OSG_GL3_AVAILABLE "Set to OFF to disable use of OpenGL 3.x functions library." OFF )
|
||||
ENDIF()
|
||||
|
Loading…
Reference in New Issue
Block a user