Merge branch 'blender2.7'
[blender.git] / CMakeLists.txt
index 8d8f78a..faa5ede 100644 (file)
@@ -1058,7 +1058,7 @@ if(WITH_GL_PROFILE_ES20)
 
 else()
        if(OpenGL_GL_PREFERENCE STREQUAL "LEGACY" AND OPENGL_gl_LIBRARY)
-               list(APPEND BLENDER_GL_LIBRARIES ${OPENGL_gl_LIBRARY} ${OPENGL_glx_LIBRARY})
+               list(APPEND BLENDER_GL_LIBRARIES ${OPENGL_gl_LIBRARY})
        else()
                list(APPEND BLENDER_GL_LIBRARIES ${OPENGL_opengl_LIBRARY} ${OPENGL_glx_LIBRARY})
        endif()