Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortamasmeszaros <meszaros.q@gmail.com>2020-10-23 17:28:14 +0300
committertamasmeszaros <meszaros.q@gmail.com>2020-10-26 12:09:01 +0300
commitc829b7c04440d66e5adcf63245ac245a318e4d35 (patch)
tree9858ff12637c3c61d4b18a861a1df0194848e765 /CMakeLists.txt
parentd29a82e9447648d885263d7bbb99f5587588904c (diff)
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.
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index d57e96a2e..68d4e4d1e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -393,6 +393,7 @@ endif ()
find_package(PNG REQUIRED)
+set(OpenGL_GL_PREFERENCE "LEGACY")
find_package(OpenGL REQUIRED)
# Find glew or use bundled version