Fix bug #730: Path of OpenGL headers is different on MacOS
(transplanted from febfc7b9b4
)
This commit is contained in:
parent
f9276f9f90
commit
cd4ea5151f
@ -11,7 +11,12 @@
|
|||||||
#define EIGEN_OPENGL_MODULE
|
#define EIGEN_OPENGL_MODULE
|
||||||
|
|
||||||
#include <Eigen/Geometry>
|
#include <Eigen/Geometry>
|
||||||
#include <GL/gl.h>
|
|
||||||
|
#if defined(__APPLE_CC__)
|
||||||
|
#include <OpenGL/gl.h>
|
||||||
|
#else
|
||||||
|
#include <GL/gl.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
namespace Eigen {
|
namespace Eigen {
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user