From 4fb6658a5065ee1e07af94f6f230a9e936f74c1a Mon Sep 17 00:00:00 2001 From: David Knapp Date: Tue, 13 Aug 2024 10:20:42 +0200 Subject: [PATCH] only search for components of the vtk library --- CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index c9727328e4..ec64d7f618 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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)