Skip to content

Commit

Permalink
only search for components of the vtk library
Browse files Browse the repository at this point in the history
  • Loading branch information
Davknapp committed Aug 13, 2024
1 parent 99b6d2e commit 4fb6658
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 4fb6658

Please sign in to comment.