Skip to content

Commit

Permalink
Merge pull request #1212 from DLR-AMR/VTK_components
Browse files Browse the repository at this point in the history
only search for components of the vtk library
  • Loading branch information
sandro-elsweijer authored Aug 20, 2024
2 parents 00fd28b + 4fb6658 commit d230465
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,10 @@ if( T8CODE_ENABLE_MPI )
endif()

if( T8CODE_ENABLE_VTK )
find_package( VTK REQUIRED )
find_package( VTK REQUIRED COMPONENTS
IOXML CommonExecutionModel CommonDataModel
IOGeometry IOXMLParser IOParallelXML IOPLY
ParallelMPI FiltersCore vtksys CommonCore zlib IOLegacy)
if(VTK_FOUND)
message("Found VTK")
endif (VTK_FOUND)
Expand Down

0 comments on commit d230465

Please sign in to comment.