Commit 93ba5214 authored by Ken Martin's avatar Ken Martin
Browse files

Enable IO/Export (minus gl2ps) for OPenGL2

Change-Id: I109f84429830eb68ecc74f7111d07c741219bb33
parent 296dc589
......@@ -14,9 +14,14 @@ set(Module_SRCS
#vtkX3DExporterJavaHelper.cxx Needs JNI
vtkX3DExporterWriter.cxx
vtkX3DExporterXMLWriter.cxx
vtkGL2PSExporter.cxx
)
if(VTK_RENDERING_BACKEND STREQUAL "OpenGL")
list (APPEND Module_SRCS
vtkGL2PSExporter.cxx
)
endif()
set_source_files_properties(
vtkX3D
vtkX3DExporterWriter
......
if(VTK_RENDERING_BACKEND STREQUAL "OpenGL")
set(_groups GROUPS Rendering)
set(opengl_depends vtkRenderingGL2PS)
set(private_opengl_depends vtkgl2ps)
endif()
vtk_module(vtkIOExport
${_groups}
GROUPS
Rendering
DEPENDS
vtkCommonCore
vtkRenderingAnnotation
vtkRenderingContext2D
vtkRenderingCore
vtkRenderingFreeType
vtkRenderingGL2PS
${opengl_depends}
vtkRenderingLabel
vtkRenderingOpenGL
vtkRendering${VTK_RENDERING_BACKEND}
vtkImagingCore
PRIVATE_DEPENDS
vtkIOImage
vtkFiltersGeometry
vtkgl2ps
${private_opengl_depends}
TEST_DEPENDS
vtkCommonColor
vtkChartsCore
......@@ -24,8 +26,8 @@ vtk_module(vtkIOExport
vtkTestingRendering
vtkInteractionStyle
vtkRenderingAnnotation
vtkRenderingFreeTypeOpenGL
vtkRenderingVolumeOpenGL
vtkRenderingContextOpenGL
vtkRenderingFreeType${VTK_RENDERING_BACKEND}
vtkRenderingVolume${VTK_RENDERING_BACKEND}
vtkRenderingContext${VTK_RENDERING_BACKEND}
vtkViewsContext2D
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment