diff options
author | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2014-01-29 22:05:39 +0100 |
---|---|---|
committer | Christoph Hertzberg <chtz@informatik.uni-bremen.de> | 2014-01-29 22:05:39 +0100 |
commit | febfc7b9b43866c44d49fe0e2b8ebcfc7b8b10be (patch) | |
tree | 5e9cd430b72615578f78ff6decf8eca00519d18a /unsupported | |
parent | a7621809fe0fc7c65446ab9a83739ebe313004d4 (diff) |
Fix bug #730: Path of OpenGL headers is different on MacOS
Diffstat (limited to 'unsupported')
-rw-r--r-- | unsupported/Eigen/OpenGLSupport | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/unsupported/Eigen/OpenGLSupport b/unsupported/Eigen/OpenGLSupport index 4454bf820..c4090ab11 100644 --- a/unsupported/Eigen/OpenGLSupport +++ b/unsupported/Eigen/OpenGLSupport @@ -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 { |