Skip to content

Commit 313bc36

Browse files
authored
Merge pull request #98 from smp79/glvnd
FindOpenGL: fix compile failure on GLVND linux systems
2 parents d056276 + 37282a7 commit 313bc36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

FindOpenGl.cmake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ endif()
1717
if(NOT CORE_SYSTEM_NAME STREQUAL osx)
1818
find_path(OPENGL_INCLUDE_DIR GL/gl.h
1919
PATHS ${PC_OPENGL_gl_INCLUDEDIR})
20-
find_library(OPENGL_gl_LIBRARY NAMES GL
20+
find_library(OPENGL_gl_LIBRARY NAMES GL OpenGL
2121
PATHS ${PC_OPENGL_gl_LIBDIR})
2222
else()
2323
find_library(OPENGL_gl_LIBRARY NAMES OpenGL

0 commit comments

Comments
 (0)