Fix T60187: Latest couple of builds fail to run, need libGLX.so.0
authorSergey Sharybin <sergey.vfx@gmail.com>
Sun, 6 Jan 2019 10:51:38 +0000 (11:51 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Sun, 6 Jan 2019 10:51:38 +0000 (11:51 +0100)
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()