File tree 2 files changed +6
-1
lines changed
2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -212,6 +212,7 @@ General options and their default values:
212
212
ENABLE_LUAJIT=ON - Build with LuaJIT (much faster than non-JIT Lua)
213
213
ENABLE_SYSTEM_GMP=ON - Use GMP from system (much faster than bundled mini-gmp)
214
214
ENABLE_SYSTEM_JSONCPP=OFF - Use JsonCPP from system
215
+ OPENGL_GL_PREFERENCE=LEGACY - Linux client build only; See CMake Policy CMP0072 for reference
215
216
RUN_IN_PLACE=FALSE - Create a portable install (worlds, settings etc. in current directory)
216
217
USE_GPROF=FALSE - Enable profiling using GProf
217
218
VERSION_EXTRA= - Text to append to version (e.g. VERSION_EXTRA=foobar -> Minetest 0.4.9-foobar)
Original file line number Diff line number Diff line change @@ -296,7 +296,11 @@ else()
296
296
if (NOT HAIKU)
297
297
find_package (X11 REQUIRED)
298
298
endif (NOT HAIKU)
299
- set (OpenGL_GL_PREFERENCE "GLVND" )
299
+
300
+ set (OPENGL_GL_PREFERENCE "LEGACY" CACHE STRING
301
+ "See CMake Policy CMP0072 for reference. GLVND is broken on some nvidia setups" )
302
+ set (OpenGL_GL_PREFERENCE ${OPENGL_GL_PREFERENCE} )
303
+
300
304
find_package (OpenGL REQUIRED)
301
305
find_package (JPEG REQUIRED)
302
306
find_package (BZip2 REQUIRED)
You can’t perform that action at this time.
0 commit comments