Skip to content

Commit

Permalink
[cmake] glx: find glx library instead of gl
Browse files Browse the repository at this point in the history
  • Loading branch information
lrusak committed Nov 6, 2021
1 parent 1fb18c8 commit 26fe222
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmake/modules/FindGLX.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ endif()

find_path(GLX_INCLUDE_DIR NAMES GL/glx.h
PATHS ${PC_GLX_INCLUDEDIR})
find_library(GLX_LIBRARY NAMES GL
find_library(GLX_LIBRARY NAMES GLX
PATHS ${PC_GLX_LIBDIR})

include(FindPackageHandleStandardArgs)
Expand Down

0 comments on commit 26fe222

Please sign in to comment.