From 1ec5028e5a0eeedb90993a430b0e9bbf3bfd14d2 Mon Sep 17 00:00:00 2001 From: ShadowNinja Date: Sat, 18 Aug 2018 11:37:30 -0400 Subject: [PATCH] Set OpenGL preference to GLVND This silences a CMake warning introduced in CMAKE 3.11. --- src/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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) -- 2.25.1