Give OpenGL include directory to everything that needs it.
For example vtkGL2PSExporter.cxx includes vtkOpenGLRenderWindow.h, which includes vtkOpenGL.h which includes GL/gl.h. When that isn't on the system include path, as in cross compilation for a supercomputer an using pure OSmesa compilation will fail. Change-Id: Ic0fa1870009c6013ad30dbb938707ba4735f1ed3
Showing with 25 additions and 0 deletions