Commit 608db1f1 authored by Chris Harris's avatar Chris Harris
Browse files

Add addition VTK modules to link line

parent c5fcec3f
......@@ -104,7 +104,13 @@ IF (VTK_FOUND)
PVVTK_ADD_LIBRARY(vtkXdmf ${LIBTYPE} ${Xdmf_SRCS})
add_dependencies(vtkXdmf vtklibxml2)
set(_xdmf_link_lib vtkIOCore Xdmf vtkRenderingOpenGL)
set(_xdmf_link_lib
vtkIOCore
Xdmf
vtkRenderingOpenGL
vtkInteractionStyle
vtkRenderingFreeTypeOpenGL
)
IF(VTK_USE_PARALLEL)
list(APPEND _xdmf_link_lib vtkParallelCore)
......
ADD_EXECUTABLE(XdmfTestVTKIO XdmfTestVTKIO.cxx)
TARGET_LINK_LIBRARIES(XdmfTestVTKIO
set(_libs
vtkIOCore
vtkCommonCore
vtkXdmf
vtkFiltersParallel
vtkInteractionStyle)
if(PARAVIEW_USE_MPI)
list(APPEND _libs vtkFiltersParallel)
endif()
target_link_libraries(XdmfTestVTKIO ${_libs})
ADD_TEST(XdmfTestVTKIO ${EXECUTABLE_OUTPUT_PATH}/XdmfTestVTKIO)
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