projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
78bd902
)
Set OpenGL preference to GLVND
author
ShadowNinja
<shadowninja@minetest.net>
Sat, 18 Aug 2018 15:37:30 +0000
(11:37 -0400)
committer
ShadowNinja
<ShadowNinja@users.noreply.github.com>
Sat, 18 Aug 2018 18:23:41 +0000
(14:23 -0400)
This silences a CMake warning introduced in CMAKE 3.11.
src/CMakeLists.txt
patch
|
blob
|
history
diff --git
a/src/CMakeLists.txt
b/src/CMakeLists.txt
index 60fff18ffb9a53da7a85698301a7840b06ea4b16..dbb9e5c6a9ab638d1e6af3e0afc0aa0a91a4d90c 100644
(file)
--- 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)