From 66d4b1aff798e2890b2bf355d7c0e3f546a1b06b Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Tue, 2 Jun 2020 23:37:19 +0200 Subject: [PATCH] OpenGL_GL_PREFERENCE set to LEGACY --- plugins/peopsxgl/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/plugins/peopsxgl/CMakeLists.txt b/plugins/peopsxgl/CMakeLists.txt index 907009ce..e4621b6d 100644 --- a/plugins/peopsxgl/CMakeLists.txt +++ b/plugins/peopsxgl/CMakeLists.txt @@ -18,6 +18,7 @@ set(GTK_LIBRARIES ${GTK3_LIBRARY} ${GDK3_LIBRARY} ${GDKPixbuf_LIBRARY} ${Pango_L find_package(X11 REQUIRED) +set(OpenGL_GL_PREFERENCE LEGACY) find_package(OpenGL REQUIRED) if(NOT OPENGL_FOUND) message(FATAL_ERROR "GL library not found")