CMake: Fixes for OpenGL library preferences
authorSergey Sharybin <sergey.vfx@gmail.com>
Fri, 14 Dec 2018 13:48:05 +0000 (14:48 +0100)
committerSergey Sharybin <sergey.vfx@gmail.com>
Fri, 14 Dec 2018 13:48:05 +0000 (14:48 +0100)
commit0658d047a94a86060f039790898a80a7adb0dcd9
treeb74404c3d04638bf157acb013b26f29a0d90d1fa
parentf0a481eebdfea215f4beac0e4b1cbc5118524a43
CMake: Fixes for OpenGL library preferences

Prefer legacy OpenGL library, for the compatibility and portability
reasons.

Also use proper OpenGL libraries to be linked against, so we can
change preference to GLVND.
CMakeLists.txt