diff options
author | ShadowNinja <shadowninja@minetest.net> | 2018-08-18 11:37:30 -0400 |
---|---|---|
committer | ShadowNinja <ShadowNinja@users.noreply.github.com> | 2018-08-18 14:23:41 -0400 |
commit | 1ec5028e5a0eeedb90993a430b0e9bbf3bfd14d2 (patch) | |
tree | 50a6f3231fe3f177c1a77d74aaf8da44d66b3de8 /src/CMakeLists.txt | |
parent | 78bd902b9f770dee9b4d41f03c289574e6b59151 (diff) | |
download | minetest-1ec5028e5a0eeedb90993a430b0e9bbf3bfd14d2.tar.gz minetest-1ec5028e5a0eeedb90993a430b0e9bbf3bfd14d2.tar.bz2 minetest-1ec5028e5a0eeedb90993a430b0e9bbf3bfd14d2.zip |
Set OpenGL preference to GLVND
This silences a CMake warning introduced in CMAKE 3.11.
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
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) |