mirror of
https://github.com/Perlmint/glew-cmake.git
synced 2024-11-11 09:33:49 +00:00
Add support for GLEW_INCLUDE to allow including glew.h from a custom location
This commit is contained in:
parent
925722f910
commit
a82b984534
@ -1,4 +1,8 @@
|
||||
#ifndef GLEW_INCLUDE
|
||||
#include <GL/glew.h>
|
||||
#else
|
||||
#include GLEW_INCLUDE
|
||||
#endif
|
||||
|
||||
#if defined(GLEW_OSMESA)
|
||||
# define GLAPI extern
|
||||
|
Loading…
Reference in New Issue
Block a user