From 00829c7753582fcca46cabf68bd47f701032c2db Mon Sep 17 00:00:00 2001 From: wmayer Date: Sat, 12 Nov 2016 11:22:52 +0100 Subject: [PATCH] disable again selection of vtk components since this still causes problems on further systems --- CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 642bc5130..3e62aadcc 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -582,10 +582,15 @@ endif(${CMAKE_SYSTEM_NAME} MATCHES "Darwin") if (UNIX AND NOT APPLE) set (VTK_COMPONENTS ${VTK_COMPONENTS} + vtkIOMPIParallel vtkParallelMPI) endif() - find_package(VTK COMPONENTS ${VTK_COMPONENTS} REQUIRED) #don't check VERSION 6 as this would exclude version 7 + # For Debian testing you may have to only allow a certain list of components: + # http://forum.freecadweb.org/viewtopic.php?f=4&t=15646&start=10#p141693 + # + #find_package(VTK COMPONENTS ${VTK_COMPONENTS} REQUIRED) #don't check VERSION 6 as this would exclude version 7 + find_package(VTK REQUIRED) #don't check VERSION 6 as this would exclude version 7 set(BUILD_FEM_VTK ON) if(${VTK_MAJOR_VERSION} LESS 6)