forked from Mirrorlandia_minetest/minetest
Set OpenGL preference to GLVND
This silences a CMake warning introduced in CMAKE 3.11.
This commit is contained in:
parent
78bd902b9f
commit
1ec5028e5a
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user