Renamed CMake variable + C++ #define to OSG_GL_CONTEXT_VERSION

This commit is contained in:
Robert Osfield
2018-04-24 17:05:03 +01:00
parent 1aa0a80de7
commit 2b3ac015bb
4 changed files with 5 additions and 5 deletions

View File

@@ -556,12 +556,12 @@ ELSE()
OPTION(OSG_CPP_EXCEPTIONS_AVAILABLE "Set to OFF to disable compile of OSG components that use C++ exceptions." ON)
ENDIF()
SET(OSG_GL_CONTEXT_STRING "1.0" CACHE STRING "GL Context String to pass when creaing graphics contexts")
SET(OSG_GL_CONTEXT_VERSION "1.0" CACHE STRING "GL Context String to pass when creaing graphics contexts")
# Map the OSG_GL*_AVAILABLE settings to OpenGL header settings
IF (OSG_GL3_AVAILABLE)
SET(OSG_GL_CONTEXT_STRING "3.3")
SET(OSG_GL_CONTEXT_VERSION "3.3")
IF (APPLE)
SET(OPENGL_HEADER1 "#include <OpenGL/gl.h>" CACHE STRING "#include<> line for OpenGL Header")