Skip to content

Commit

Permalink
[build] Enhance include for OpenGL on Windows and MacOs platform. Thx…
Browse files Browse the repository at this point in the history
  • Loading branch information
pmoulon committed Apr 15, 2016
1 parent 4074ae0 commit f9e64c3
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/software/SfMViewer/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,16 @@
#include <cmath>
#include <iterator>

#include <GLFW/glfw3.h>
#ifdef __APPLE__
#include <OpenGL/gl.h>
#include <GLUT/glut.h>
#else
#ifdef _WIN32
#include <windows.h>
#endif
#endif

#include <GLFW/glfw3.h>

#include "openMVG/sfm/sfm.hpp"
#include "openMVG/image/image.hpp"
Expand Down

0 comments on commit f9e64c3

Please sign in to comment.