Commit a323e818 authored by David Partyka's avatar David Partyka
Browse files

Remove conditional logic so that OpenFoam is always built.

parent 0c237949
......@@ -248,9 +248,6 @@ OPTION(VTK_LEGACY_SILENT "Silence all legacy code messages." OFF)
MARK_AS_ADVANCED(VTK_LEGACY_REMOVE VTK_LEGACY_SILENT)
#-----------------------------------------------------------------------------
OPTION(VTK_USE_OPENFOAM "Build openfoam reader" ON)
MARK_AS_ADVANCED(VTK_USE_OPENFOAM)
OPTION(VTK_USE_METAIO "Build metaio" ON)
MARK_AS_ADVANCED(VTK_USE_METAIO)
......
......@@ -12,12 +12,6 @@ ELSE(VTK_USE_OGGTHEORA_ENCODER)
set(_VTK_OGGTHEORA_SOURCES)
ENDIF(VTK_USE_OGGTHEORA_ENCODER)
IF(VTK_USE_OPENFOAM)
set(_VTK_OPENFOAM_SOURCES vtkOpenFOAMReader.cxx)
ELSE(VTK_USE_OPENFOAM)
set(_VTK_OPENFOAM_SOURCES)
ENDIF(VTK_USE_OPENFOAM)
SET(KIT IO)
SET(UKIT IO)
SET(KIT_TCL_LIBS vtkFilteringTCL)
......@@ -96,7 +90,7 @@ vtkNetCDFPOPReader.cxx
vtkNetCDFReader.cxx
vtkOBJReader.cxx
${_VTK_OGGTHEORA_SOURCES}
${_VTK_OPENFOAM_SOURCES}
vtkOpenFOAMReader.cxx
vtkOutputStream.cxx
vtkPDBReader.cxx
vtkPLOT3DReader.cxx
......
......@@ -19,12 +19,6 @@ IF(VTK_HAS_EXODUS)
SET(KIT_LIBS ${KIT_LIBS} vtkexoIIc)
ENDIF(VTK_HAS_EXODUS)
IF(VTK_USE_OPENFOAM)
set(_VTK_OPENFOAM_SOURCES vtkPOpenFOAMReader.cxx)
ELSE(VTK_USE_OPENFOAM)
set(_VTK_OPENFOAM_SOURCES)
ENDIF(VTK_USE_OPENFOAM)
SET ( Kit_SRCS
vtkBranchExtentTranslator.cxx
vtkCachingInterpolatedVelocityField.cxx
......@@ -64,7 +58,7 @@ vtkPKdTree.cxx
vtkPLinearExtrusionFilter.cxx
vtkPNrrdReader.cxx
vtkPOPReader.cxx
${_VTK_OPENFOAM_SOURCES}
vtkPOpenFOAMReader.cxx
vtkPOutlineCornerFilter.cxx
vtkPOutlineFilter.cxx
vtkPPolyDataNormals.cxx
......
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