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")