Fix windows compilation with new dependency package (libglew only
comes with dynamic libs, not static).
This commit is contained in:
parent
9f940770a4
commit
6c8c4de899
@ -1,7 +1,13 @@
|
||||
#ifndef GL_HEADER_HPP
|
||||
#define GL_HEADER_HPP
|
||||
|
||||
#define GLEW_STATIC
|
||||
#if defined(WIN32) && !defined(__CYGWIN__)
|
||||
// glew in the binary distribution only comes as dynamic library.
|
||||
# undef GLEW_STATIC
|
||||
#else
|
||||
# define GLEW_STATIC
|
||||
#endif
|
||||
|
||||
extern "C" {
|
||||
#include <GL/glew.h>
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user