Skip to content

Commit

Permalink
Set OpenGL preference to GLVND
Browse files Browse the repository at this point in the history
This silences a CMake warning introduced in CMAKE 3.11.
  • Loading branch information
ShadowNinja committed Aug 18, 2018
1 parent 78bd902 commit 1ec5028
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/CMakeLists.txt
Expand Up @@ -296,6 +296,7 @@ else()
if(NOT HAIKU)
find_package(X11 REQUIRED)
endif(NOT HAIKU)
set(OpenGL_GL_PREFERENCE "GLVND")
find_package(OpenGL REQUIRED)
find_package(JPEG REQUIRED)
find_package(BZip2 REQUIRED)
Expand Down

0 comments on commit 1ec5028

Please sign in to comment.