mirror of
https://github.com/minetest/minetest.git
synced 2024-12-23 22:52:25 +01:00
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