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:
Erwin Coumans
2014-08-18 21:43:08 -07:00
parent 670576ec72
commit bf1bd07636
40 changed files with 15811 additions and 124 deletions

View File

@@ -14,8 +14,10 @@ subject to the following restrictions:
*/
#include "GLDebugFont.h"
#include "OpenGLWindow/OpenGLInclude.h"
#ifdef DONT_USE_GLUT
#else
#ifdef _WIN32//for glut.h
#include <windows.h>
#endif
@@ -44,7 +46,7 @@ subject to the following restrictions:
#include <GL/glu.h>
#endif
#endif
#endif
#include <stdio.h>
#include <string.h> //for memset