vtk_module(vtkRenderingGL2PS
  TCL_NAME vtkRenderingGLtoPS
  DEPENDS
    vtkRenderingContext${VTK_RENDERING_BACKEND}
  PRIVATE_DEPENDS
    vtkRendering${VTK_RENDERING_BACKEND}
    vtkRenderingFreeType
    vtkgl2ps
  TEST_DEPENDS
    vtkTestingRendering
    vtkInteractionStyle
  KIT
    vtkOpenGL
)

vtk_module(vtkRenderingGL2PS
  TCL_NAME vtkRenderingGLtoPS
  BACKEND
    OpenGL
  DEPENDS
    vtkRenderingContext${VTK_RENDERING_BACKEND}
  PRIVATE_DEPENDS
    vtkRendering${VTK_RENDERING_BACKEND}
    vtkRenderingFreeType
    vtkgl2ps
  TEST_DEPENDS
    vtkTestingRendering
    vtkInteractionStyle
  KIT
    vtkOpenGL
)

Mark gl2ps as being part of the OpenGL backend
Mark gl2ps as being part of the OpenGL backend

gl2ps is only compatible with the old opengl implementation
so marking it as part of that backend as it cannot compile
without it.
