summaryrefslogtreecommitdiff
path: root/user/freeglut/glvnd.patch
blob: 123e943b7f7aaf18797abf68a3066297172fa6b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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()