Fix OpenGL include dependency.
This reverts commit 35a3e376. Instead of adding OPENGL_INCLUDE_DIR to every module that depends on vtkRenderingOpenGL, we add OPENGL_INCLUDE_DIR as one of the vtkRenderingOpenGL_INCLUDE_DIRS. That way, any module depending on vtkRenderingOpenGL will automatically know where to find gl.h since gl.h is needed by the header files for classes in vtkRenderingOpenGL. Change-Id: I6675c2b522e15b3fc6f7a80c28f91c56660b671e
Showing with 5 additions and 25 deletions