Use legacy OpenGL linkage on Linux

GLVND based libOpenGL.so is not present on every supported Linux, despite that appimage exclude list says so. It should be enough to just link to system specific libGL.so.
This commit is contained in:
tamasmeszaros
2020-10-23 16:28:14 +02:00
parent e472f7f7f8
commit 162252cc01

View File

@@ -393,6 +393,7 @@ endif ()
find_package(PNG REQUIRED)
set(OpenGL_GL_PREFERENCE "LEGACY")
find_package(OpenGL REQUIRED)
# Find glew or use bundled version