Skip to content
Snippets Groups Projects
Commit e7509aa8 authored by Tobias Meisel's avatar Tobias Meisel Committed by Lars Bilke
Browse files

[CMake] Remove dependency to vtkIOXDMF lib

parent 37644437
No related branches found
No related tags found
No related merge requests found
......@@ -61,7 +61,7 @@ find_program(PARSL parsl-visualize HINTS ${LOCAL_VIRTUALENV_BIN_DIRS})
######################
find_package(Boost ${ogs.minimum_version.boost} REQUIRED)
set(VTK_COMPONENTS vtkIOXML vtkIOXdmf3 vtkIOLegacy)
set(VTK_COMPONENTS vtkIOXML vtkIOLegacy)
if(OGS_BUILD_GUI)
set(VTK_COMPONENTS ${VTK_COMPONENTS}
vtkIOExport vtkImagingCore
......@@ -79,12 +79,6 @@ else()
find_package(VTK ${ogs.minimum_version.vtk} REQUIRED COMPONENTS ${VTK_COMPONENTS})
include(${VTK_USE_FILE})
endif()
include_directories(SYSTEM
# Xdmf:
${VTK_INSTALL_PREFIX}/include
# libxml:
${VTK_INSTALL_PREFIX}/include/vtk-${VTK_VERSION_MAJOR}.${VTK_VERSION_MINOR}/vtklibxml2
)
find_package(Eigen3 ${ogs.minimum_version.eigen} REQUIRED)
include_directories(SYSTEM ${EIGEN3_INCLUDE_DIR})
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment