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 d29a82e944
commit c829b7c044

View File

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