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:
parent
d29a82e944
commit
c829b7c044
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user