premake4 build: allow to dynamically load X11 if X11 system headers/library is missing
premake4 build: allow to dynamically load OpenGL/GLEW/glx if system headers are missing
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
flags {"Unicode"}
|
||||
|
||||
defines { "GWEN_COMPILE_STATIC" , "_HAS_EXCEPTIONS=0", "_STATIC_CPPLIB" }
|
||||
defines { "DONT_USE_GLUT"}
|
||||
|
||||
targetdir "../../bin"
|
||||
|
||||
@@ -50,7 +51,7 @@
|
||||
}
|
||||
end
|
||||
if os.is("Linux") then
|
||||
links ("X11")
|
||||
initX11()
|
||||
files{
|
||||
"../OpenGLWindow/X11OpenGLWindow.h",
|
||||
"../OpenGLWindow/X11OpenGLWindow.cpp"
|
||||
|
||||
Reference in New Issue
Block a user