From: ShadowNinja Date: Sat, 18 Aug 2018 15:37:30 +0000 (-0400) Subject: Set OpenGL preference to GLVND X-Git-Tag: 5.0.0~251 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=1ec5028e5a0eeedb90993a430b0e9bbf3bfd14d2;p=oweals%2Fminetest.git Set OpenGL preference to GLVND This silences a CMake warning introduced in CMAKE 3.11. --- diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 60fff18ff..dbb9e5c6a 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -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)