Skip to content

Commit

Permalink
Additional modules for Arch Linux added to VTK_COMPONENTS
Browse files Browse the repository at this point in the history
  • Loading branch information
tsadowski authored and yorikvanhavre committed Jun 15, 2018
1 parent e3f578e commit a59e879
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions CMakeLists.txt
Expand Up @@ -675,7 +675,7 @@ endif()
# check which modules are available
if(UNIX OR WIN32)
find_package(VTK COMPONENTS vtkCommonCore REQUIRED NO_MODULE)
list(APPEND VTK_COMPONENTS vtkIOMPIParallel vtkParallelMPI vtkhdf5)
list(APPEND VTK_COMPONENTS vtkIOMPIParallel vtkParallelMPI vtkhdf5 vtkFiltersParallelDIY2 vtkRenderingCore vtkInteractionStyle vtkRenderingFreeType vtkRenderingOpenGL2)
foreach(_module ${VTK_COMPONENTS})
list (FIND VTK_MODULES_ENABLED ${_module} _index)
if (${_index} GREATER -1)
Expand Down Expand Up @@ -708,8 +708,6 @@ endif()
endif()
# on openSUSE 13.1 VTK_LIBRARIES ends with "optimized" keyword
list(REMOVE_ITEM VTK_LIBRARIES "optimized" "debug")
# the FEM module on Arch needs some more libs
list(APPEND VTK_LIBRARIES "vtkFiltersParallelDIY2" "vtkRenderingCore" "vtkInteractionStyle" "vtkRenderingFreeType" "vtkRenderingOpenGL2")

if(NOT FREECAD_USE_EXTERNAL_SMESH)
# See https://www.hdfgroup.org/HDF5/release/cmakebuild.html
Expand Down

0 comments on commit a59e879

Please sign in to comment.