Fix assimp_qt_viewer build failed on OSX

pull/1410/head
THISISAGOODNAME 2017-08-30 23:18:36 +08:00
parent fd9da14db7
commit 1e3a9ded11
1 changed files with 5 additions and 1 deletions

View File

@ -6,7 +6,11 @@
#include "glview.hpp" #include "glview.hpp"
// Header files, OpenGL. // Header files, OpenGL.
#if defined(__APPLE__)
# include <OpenGL/glu.h>
#else
# include <GL/glu.h> # include <GL/glu.h>
#endif
// Header files, DevIL. // Header files, DevIL.
#include <il.h> #include <il.h>