Skip to content

Commit

Permalink
disable again selection of vtk components since this still causes pro…
Browse files Browse the repository at this point in the history
…blems on further systems
  • Loading branch information
wwmayer committed Nov 12, 2016
1 parent f7c88e9 commit 00829c7
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 00829c7

Please sign in to comment.