diff --git a/indra/cmake/OpenGL.cmake b/indra/cmake/OpenGL.cmake index ea6474cf2df1e7d9e144915bf9492ad474586627..470705c690595b1e7fd8e1f3e1d57201e59a4623 100644 --- a/indra/cmake/OpenGL.cmake +++ b/indra/cmake/OpenGL.cmake @@ -4,7 +4,6 @@ include(Variables) include(Prebuilt) if (BUILD_HEADLESS) - SET(OPENGL_glu_LIBRARY GLU) SET(OPENGL_HEADLESS_LIBRARIES OSMesa16 dl GLU) endif (BUILD_HEADLESS) diff --git a/indra/llrender/llglheaders.h b/indra/llrender/llglheaders.h index c773fd62bcef80abe5e4463e5a781355f2fc172a..20b82e462d6c8519e4893a55a3c0521f13588d00 100644 --- a/indra/llrender/llglheaders.h +++ b/indra/llrender/llglheaders.h @@ -34,7 +34,6 @@ #define GL_GLEXT_PROTOTYPES 1 #include "GL/gl.h" #include "GL/glext.h" -#include "GL/glu.h" // The __APPLE__ kludge is to make glh_extensions.h not symbol-clash horribly # define __APPLE__ @@ -54,12 +53,6 @@ #include "epoxy/glx.h" #endif -#if LL_DARWIN -#include <OpenGL/glu.h> -#else -#include <GL/glu.h> -#endif - #endif // LL_MESA #endif // LL_LLGLHEADERS_H