Browse Source

Merge pull request #602 from ReliaSolve/mac_build_improvements

Builds out of the box on mac with ASSIMP_BUILD_SAMPLES turned on.
Alexander Gessler 10 years ago
parent
commit
71b275eea2
1 changed files with 4 additions and 0 deletions
  1. 4 0
      samples/SimpleOpenGL/Sample_SimpleOpenGL.c

+ 4 - 0
samples/SimpleOpenGL/Sample_SimpleOpenGL.c

@@ -14,7 +14,11 @@
 #include <stdlib.h>
 #include <stdio.h>
 
+#ifdef __APPLE__
+#include <glut.h>
+#else
 #include <GL/glut.h>
+#endif
 
 /* assimp include files. These three are usually needed. */
 #include <assimp/cimport.h>