mirror of
https://gitlab.com/libeigen/eigen.git
synced 2025-07-08 22:21:49 +08:00
Fix bug #730: Path of OpenGL headers is different on MacOS
(transplanted from febfc7b9b43866c44d49fe0e2b8ebcfc7b8b10be )
This commit is contained in:
parent
f9276f9f90
commit
cd4ea5151f
@ -11,7 +11,12 @@
|
||||
#define EIGEN_OPENGL_MODULE
|
||||
|
||||
#include <Eigen/Geometry>
|
||||
#include <GL/gl.h>
|
||||
|
||||
#if defined(__APPLE_CC__)
|
||||
#include <OpenGL/gl.h>
|
||||
#else
|
||||
#include <GL/gl.h>
|
||||
#endif
|
||||
|
||||
namespace Eigen {
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user