diff options
Diffstat (limited to 'user/freeglut/glvnd.patch')
-rw-r--r-- | user/freeglut/glvnd.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/user/freeglut/glvnd.patch b/user/freeglut/glvnd.patch new file mode 100644 index 000000000..123e943b7 --- /dev/null +++ b/user/freeglut/glvnd.patch @@ -0,0 +1,13 @@ +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() + |