This allows us to link to the new GLVND libraries. Otherwise, there will be linker errors. --- freeglut-3.2.2/CMakeLists.txt.old 2022-02-06 10:50:52.000000000 +0000 +++ freeglut-3.2.2/CMakeLists.txt 2024-11-26 12:50:25.436599428 +0000 @@ -264,7 +264,7 @@ LIST(APPEND LIBS GLESv2 GLESv1_CM EGL) ELSE() FIND_PACKAGE(OpenGL REQUIRED) - LIST(APPEND LIBS ${OPENGL_gl_LIBRARY}) + LIST(APPEND LIBS ${OPENGL_opengl_LIBRARY} ${OPENGL_glx_LIBRARY}) INCLUDE_DIRECTORIES(${OPENGL_INCLUDE_DIR}) ENDIF()