Copied libutil and libtess implementations in form Mesa 7.9/src/glu into the src/osg/glu,
changed extensions from .c to .cpp and got compiling as C files as part of the osg core library. Updated and cleaned up the rest of the OSG to use the new internal GLU.
This commit is contained in:
@@ -51,7 +51,8 @@ ENDMACRO(LINK_EXTERNAL TRGTNAME)
|
||||
#######################################################################################################
|
||||
|
||||
MACRO(LINK_CORELIB_DEFAULT CORELIB_NAME)
|
||||
SET(ALL_GL_LIBRARIES ${OPENGL_LIBRARIES})
|
||||
#SET(ALL_GL_LIBRARIES ${OPENGL_LIBRARIES})
|
||||
SET(ALL_GL_LIBRARIES ${OPENGL_gl_LIBRARY})
|
||||
IF (OSG_GLES1_AVAILABLE OR OSG_GLES2_AVAILABLE)
|
||||
SET(ALL_GL_LIBRARIES ${ALL_GL_LIBRARIES} ${OPENGL_egl_LIBRARY})
|
||||
ENDIF()
|
||||
@@ -100,7 +101,8 @@ MACRO(SETUP_LINK_LIBRARIES)
|
||||
ENDIF(TO_INSERT)
|
||||
ENDFOREACH(LINKLIB)
|
||||
|
||||
SET(ALL_GL_LIBRARIES ${OPENGL_LIBRARIES})
|
||||
#SET(ALL_GL_LIBRARIES ${OPENGL_LIBRARIES})
|
||||
SET(ALL_GL_LIBRARIES ${OPENGL_gl_LIBRARY})
|
||||
IF (OSG_GLES1_AVAILABLE OR OSG_GLES2_AVAILABLE)
|
||||
SET(ALL_GL_LIBRARIES ${ALL_GL_LIBRARIES} ${OPENGL_egl_LIBRARY})
|
||||
ENDIF()
|
||||
|
||||
Reference in New Issue
Block a user