FindOpenGL: Selection of GL versus OpenGL+GLX
Commit e2e8a690 causes applications using
to now link against multiple libraries providing the same symbols.
OPENGL_LIBRARIES can now contain libGL.so, libGLX.so, libOpenGL.so, etc...
For instance, libGL.so and libGLX.so both contain
and libGL.so and libOpenGL.so both contain
This could lead to a crash when trying to use one's own /home/user/lib/libGL.so from Mesa3D in an application linked against the extra libraries.
I suggest reverting OPENGL_LIBRARIES back to what it was, and applications wishing to use GLVND can opt-in another way. For example
target_link_libraries(app OpenGL::GLX OpenGL::OpenGL)