vtk_module(vtkRenderingFreeTypeOpenGL2
  IMPLEMENTS
    vtkRenderingCore
  TCL_NAME
    vtkRenderingFreeTypeOpenGLII
  BACKEND
    OpenGL2
  DEPENDS
    vtkRenderingFreeType
    vtkRenderingOpenGL2
  TEST_DEPENDS
    vtkTestingCore
    vtkTestingRendering
    vtkInteractionStyle
  KIT
    vtkOpenGL
  )

if (NOT ANDROID AND NOT APPLE_IOS)
  set(include_in_backend BACKEND OpenGL2)
endif()

vtk_module(vtkRenderingFreeTypeOpenGL2
  IMPLEMENTS
    vtkRenderingCore
  TCL_NAME
    vtkRenderingFreeTypeOpenGLII
  ${include_in_backend}
  DEPENDS
    vtkRenderingFreeType
    vtkRenderingOpenGL2
  TEST_DEPENDS
    vtkTestingCore
    vtkTestingRendering
    vtkInteractionStyle
  KIT
    vtkOpenGL
  )

Exclude freetype form iOS and andriod
Exclude freetype form iOS and andriod

Remove freetype OpenGL2 form the OpenGL2 backend when building
android or iOS.

Change-Id: I6ec244c368eb69b60ea79e3ec3d6a06850d07c60
