Commit 7b65d027 authored by George Zagaris's avatar George Zagaris

COMP: Link AvtAlgorithms to vtkParallel for AMR

Linking AvtAlgorithms library to vtkParallel regardless of
whether VISIT_PARALLEL(i.e., MPI) is ON or not. This is needed
for using vtkAMRUtilities when constructing AMR datasets.
parent b5391c43
......@@ -47,10 +47,13 @@ ${VISIT_SOURCE_DIR}/visit_vtk/lightweight
${VTK_INCLUDE_DIRS}
)
VTK_ADD_LIBRARY(vtkVisItAVTAlgorithms ${Kit_SRCS})
## NOTE: Always link to vtkParallel b/c it is needed for using vtkAMRUtilities
## When creating vtkOverlappingAMR datasets (especially on windows)
IF(VISIT_PARALLEL)
TARGET_LINK_LIBRARIES(vtkVisItAVTAlgorithms visitcommon avtdatabase_par avtpipeline_par visit_vtk avtivp)
TARGET_LINK_LIBRARIES(vtkVisItAVTAlgorithms visitcommon avtdatabase_par avtpipeline_par visit_vtk avtivp vtkParallel)
ELSE(VISIT_PARALLEL)
TARGET_LINK_LIBRARIES(vtkVisItAVTAlgorithms visitcommon avtdatabase_ser avtpipeline_ser visit_vtk avtivp)
TARGET_LINK_LIBRARIES(vtkVisItAVTAlgorithms visitcommon avtdatabase_ser avtpipeline_ser visit_vtk avtivp vtkParallel)
ENDIF(VISIT_PARALLEL)
#Wrap for Python
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment