Skip to content
Snippets Groups Projects
Commit 844360e6 authored by Christophe Geuzaine's avatar Christophe Geuzaine
Browse files

test fltk version inside #if HAVE_FLTK
parent 2735ba91
No related branches found
No related tags found
No related merge requests found
...@@ -21,14 +21,8 @@ ...@@ -21,14 +21,8 @@
// Please report all bugs and problems to <gmsh@geuz.org>. // Please report all bugs and problems to <gmsh@geuz.org>.
#if defined(HAVE_FLTK) #if defined(HAVE_FLTK)
# include <FL/Fl.H> # include <FL/Fl.H>
# include <FL/gl.h>
# if defined(__APPLE__)
# include <OpenGL/glu.h>
# else
# include <GL/glu.h>
# endif
#endif
// Gmsh requires FLTK 1.1.5 or above (the new dynamic menus don't // Gmsh requires FLTK 1.1.5 or above (the new dynamic menus don't
// work with older FLTK versions due to a bug in Fl_Scroll.clear()) // work with older FLTK versions due to a bug in Fl_Scroll.clear())
...@@ -40,4 +34,13 @@ ...@@ -40,4 +34,13 @@
# error "Gmsh requires FLTK branch 1.1" # error "Gmsh requires FLTK branch 1.1"
# endif # endif
# include <FL/gl.h>
# if defined(__APPLE__)
# include <OpenGL/glu.h>
# else
# include <GL/glu.h>
# endif
#endif
#endif #endif
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment