Set OpenGL preference to GLVND

This silences a CMake warning introduced in CMAKE 3.11.
master
ShadowNinja 2018-08-18 11:37:30 -04:00 committed by ShadowNinja
parent 78bd902b9f
commit 1ec5028e5a
1 changed files with 1 additions and 0 deletions

View File

@ -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)