premake: disable linking system OpenGL and X11 by default,
use dlopen to dynamically load GL/X11
This commit is contained in:
@@ -25,14 +25,14 @@
|
||||
|
||||
newoption
|
||||
{
|
||||
trigger = "force_dlopen_opengl",
|
||||
description = "Dynamically load OpenGL (instead of static/dynamic linking)"
|
||||
trigger = "enable_system_opengl",
|
||||
description = "Try to link and use the system OpenGL headers version instead of dynamically loading OpenGL (dlopen is default)"
|
||||
}
|
||||
|
||||
newoption
|
||||
{
|
||||
trigger = "force_dlopen_x11",
|
||||
description = "Dynamically load OpenGL (instead of static/dynamic linking)"
|
||||
trigger = "enable_system_x11",
|
||||
description = "Try to link and use system X11 headers instead of dynamically loading X11 (dlopen is default)"
|
||||
}
|
||||
|
||||
newoption
|
||||
|
||||
Reference in New Issue
Block a user