mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-29 18:07:08 +00:00
*** empty log message ***
git-svn-id: https://glew.svn.sourceforge.net/svnroot/glew/trunk/glew@151 783a27ee-832a-0410-bc00-9f386506c6dd
This commit is contained in:
parent
9211cee4e0
commit
36a15420dc
2
Makefile
2
Makefile
@ -116,7 +116,7 @@ LD = cc
|
|||||||
CFLAGS.EXTRA = -dynamic -I/usr/X11R6/include
|
CFLAGS.EXTRA = -dynamic -I/usr/X11R6/include
|
||||||
LDFLAGS.SO = -dynamiclib
|
LDFLAGS.SO = -dynamiclib
|
||||||
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
LDFLAGS.EXTRA = -L/usr/X11R6/lib
|
||||||
ifdef GLEW_APPLE_GLX
|
ifneq (undefined, $(origin GLEW_APPLE_GLX))
|
||||||
CFLAGS.EXTRA += -D'GLEW_APPLE_GLX'
|
CFLAGS.EXTRA += -D'GLEW_APPLE_GLX'
|
||||||
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
LDFLAGS.GL = -lXmu -lXi -lGLU -lGL -lXext -lX11
|
||||||
else
|
else
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
return GLEW_OK;
|
return GLEW_OK;
|
||||||
}
|
}
|
||||||
|
|
||||||
#else /* _UNIX */
|
#elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) /* _UNIX */
|
||||||
|
|
||||||
GLboolean glxewGetExtension (const GLubyte *name)
|
GLboolean glxewGetExtension (const GLubyte *name)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user