Skip to content
Permalink
Browse files
Merge pull request #6792 from degasus/master
CMake: Prefer GLVND for OpenGL.
  • Loading branch information
Tilka committed May 9, 2018
2 parents 169e1d3 + be3ce97 commit e2deb15
Showing 1 changed file with 1 addition and 0 deletions.
@@ -410,6 +410,7 @@ endif()
include(CheckLib)
include(CheckCXXSourceRuns)

set(OpenGL_GL_PREFERENCE GLVND)
find_package(OpenGL)
if (OPENGL_GL)
include_directories(${OPENGL_INCLUDE_DIR})

0 comments on commit e2deb15

Please sign in to comment.