Building the FEM module on Arch Linux requires some additions to VTK_LIBRARIES

This commit is contained in:
Torsten Sadowski
2018-06-11 22:09:07 +02:00
committed by Yorik van Havre
parent c0014cbd3e
commit e3f578ee89

View File

@@ -708,6 +708,8 @@ 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