1
0
mirror of https://github.com/minetest/minetest.git synced 2024-11-13 14:00:29 +01:00

Set OpenGL preference to GLVND

This silences a CMake warning introduced in CMAKE 3.11.
This commit is contained in:
ShadowNinja 2018-08-18 11:37:30 -04:00 committed by ShadowNinja
parent 78bd902b9f
commit 1ec5028e5a

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)