Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion etc/config.sh/paraview
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,12 @@ system)
grep -o "/[^ \t]\+libvtkCommonCore[^ \t]\+" | \
xargs readlink -f)
export VTK_LIB_DIR=$(dirname $libvtkCommonCore 2> /dev/null)
export VTK_INCLUDE_DIR=$ParaView_DIR/include/vtk-${libvtkCommonCore#*.so.}
if [ -f "$ParaView_DIR/include/vtk/vtkMultiBlockDataSetAlgorithm.h" ]
then
export VTK_INCLUDE_DIR="$ParaView_DIR/include/vtk"
else
export VTK_INCLUDE_DIR="$ParaView_DIR/include/vtk-${libvtkCommonCore#*.so.}"
fi
unset libvtkCommonCore
else
export VTK_LIB_DIR=$ParaView_LIB_DIR
Expand Down